Skip to content

Allow exclusion of directories #518

Closed

Description

@AshesITR

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.

Activity

  1. jucor commented on Oct 20, 2020

    @jucor

    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 :)

  2. added a commit that references this issue on Oct 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions