extraction_operator_linter {lintr}R Documentation

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()

Tags

best_practices, style

See Also

linters for a complete list of linters available in lintr.


[Package lintr version 3.0.2 Index]