You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using renv in a project, lintr::lint_dir() will try to lint all packages installed in the library (renv/library/...)
Currently, one can only exclude single files, so there is no practical way to lint projects using renv.
A remedy would be support for excluding entire directories from linting.
Most useful for renv indeed. Sadly this issue is what's preventing from using lintr as a pre-commit hook when renv is in use. Instead I manually run devtools::lint() in Rstudio. Not as nice :)
Activity
jucor commentedon Oct 20, 2020
Most useful for
renvindeed. Sadly this issue is what's preventing from usinglintras a pre-commit hook whenrenvis in use. Instead I manually rundevtools::lint()in Rstudio. Not as nice :)Skip lintr in precommit