Learn R Programming

lint (version 0.3)

lint: Check for stylistic errors.

Description

Check for stylistic errors.

Usage

lint(file = ".", style = lint.style, recurse = TRUE, text = NULL)

Arguments

file
a vector of file paths.
style
The list of styles tests to use to check.
text
text to check
recurse
recurse into directory and sub-directories.

Check source documents for stylistic errors. The test are given as a list in tests. If a directory is given all *.R files in that directory and sub-directories are checked. If a file other than a .R or .r file is desired it must be given explicitly as the file argument.

See Also

Other lint: check_pattern