Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Lint

Create a Lint object


Description

Create a Lint object

Usage

Lint(
  filename,
  line_number = 1L,
  column_number = 1L,
  type = c("style", "warning", "error"),
  message = "",
  line = "",
  ranges = NULL,
  linter = ""
)

Arguments

filename

path to the source file that was linted.

line_number

line number where the lint occurred.

column_number

column number where the lint occurred.

type

type of lint.

message

message used to describe the lint error

line

code source where the lint occurred

ranges

a list of ranges on the line that should be emphasized.

linter

name of linter that created the Lint object.


lintr

A 'Linter' for R Code

v2.0.1
MIT + file LICENSE
Authors
Jim Hester [aut, cre], Florent Angly [aut], Russ Hyde [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.