Learn R Programming

lintr (version 3.0.2)

extraction_operator_linter: Extraction operator linter

Description

Check that the [[ operator is used when extracting a single element from an object, not [ (subsetting) nor $ (interactive use).

Usage

extraction_operator_linter()

Arguments

Tags

best_practices, style

See Also

linters for a complete list of linters available in lintr.