Skip to contents

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

Usage

extraction_operator_linter()

See also

linters for a complete list of linters available in lintr.