Learn R Programming

lintr (version 0.2.0)

lint_file: Lint a given file

Description

Apply one or more linters to a file and return a list of lints found.

Usage

lint(filename, linters = default_linters, cache = FALSE)

Arguments

filename
the given filename to lint.
linters
a list of linter functions to apply see linters for a full list of default and available linters.
cache
toggle caching of lint results