expect_lint {lintr} | R Documentation |
Lint expectation
expect_lint(content, checks, ..., file = NULL)
content |
the file content to be linted |
checks |
a list of named vectors of checks to be performed. Performs different checks depending on the value of checks.
|
... |
one or more linters to use for the check |
file |
if not |