Description Usage Arguments Value Examples
Apply one or more linters to all of the R files in a package.
1 2 3 4 5 6 | 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.
1 2 3 4 5 6 7 8 9 10 | ## 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.