Learn R Programming

svTools (version 0.9-0)

lintUsage: Look for error in a R code file

Description

Simple wrapper to the checkUsage() function of the codetools package that calls checkUsage() on all objects contained in a source file.

Usage

lintUsage(file, encoding = getOption("encoding"))

Arguments

file
file to check.
encoding
encoding to assume for the file.

Value

  • A data frame of the errors/problems in the file is returned.

concept

Code correction (linter)

See Also

checkUsage, lintDescription, lintNamespace