lint: Lint a Project

View source: R/lint.R

lintR Documentation

Lint a Project

Description

Takes the set of active linters (see addLinter()), and applies them to all files within a project.

Usage

lint(project, files = NULL, appPrimaryDoc = NULL)

Arguments

project

Path to a project directory.

files

Specific files to lint. Can be NULL, in which case all the files in the directory will be linted.

appPrimaryDoc

The primary file in the project directory. Can be NULL, in which case it's inferred (if possible) from the directory contents.


rsconnect documentation built on Oct. 30, 2024, 9:11 a.m.