undesirable_operator_linter {lintr} | R Documentation |
Undesirable operator linter
Description
Report the use of undesirable operators, e.g. :::
or
<<-
and suggest an alternative.
Usage
undesirable_operator_linter(op = default_undesirable_operators)
Arguments
op |
Named character vector. names(op) correspond to undesirable operators,
while the values give a description of why the operator is undesirable.
If NA , no additional information is given in the lint message. Defaults to
default_undesirable_operators. To make small customizations to this list,
use modify_defaults() .
|
Tags
best_practices, configurable, efficiency, robustness, style
See Also
linters for a complete list of linters available in lintr.
[Package
lintr version 3.0.1
Index]