The default linters correspond to the style guide at
http://r-pkgs.had.co.nz/r.html#style, however it is possible to
override any or all of them using the linters
parameter.
lint(pkg = ".", cache = TRUE, ...)
pkg | The package to use, can be a file path to the package or a
package object. See |
---|---|
cache | store the lint results so repeated lints of the same content use the previous results. |
... | additional arguments passed to |
The lintr cache is by default stored in ~/.R/lintr_cache/
(this can
be configured by setting options(lintr.cache_directory)
). It can be
cleared by calling lintr::clear_cache()
.
lintr::lint_package()
, lintr::lint()