Learn R Programming

lintr (version 3.0.2)

object_usage_linter: Object usage linter

Description

Check that closures have the proper usage using codetools::checkUsage(). Note that this runs base::eval() on the code, so do not use with untrusted code.

Usage

object_usage_linter(interpret_glue = TRUE)

Arguments

interpret_glue

If TRUE, interpret glue::glue() calls to avoid false positives caused by local variables which are only used in a glue expression.

Tags

correctness, default, executing, readability, style

See Also

linters for a complete list of linters available in lintr.