| lint_package {lintr} | R Documentation |
Apply one or more linters to all of the R files in a package.
lint_package(
path = ".",
relative_path = TRUE,
...,
exclusions = list("R/RcppExports.R")
)
path |
the path to the base directory of the package, if |
relative_path |
if |
... |
additional arguments passed to |
exclusions |
exclusions for |
A list of lint objects.
## Not run:
lint_package()
lint_package(
linters = with_defaults(semicolon_linter = semicolon_terminator_linter())
cache = TRUE,
exclusions = list("inst/doc/creating_linters.R" = 1, "inst/example/bad.R")
)
## End(Not run)