lint-s3: Create a 'lint' object

lint-s3R Documentation

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

deprecated. No longer used.

Value

an object of class c("lint", "list").


lintr documentation built on May 29, 2024, 11:31 a.m.