Learn R Programming

lintr (version 1.0.3)

Lint: Create a Lint object

Description

Create a Lint object

Usage

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

Arguments

filename

path to the source file that was linted.

line_number

line number where the lint occurred.

column_number

column the lint occurred.

type

type of lint.

message

message used to describe the lint error

line

code source where the lint occurred

ranges

ranges on the line that should be emphasized.

linter

name of linter that created the Lint object.