assignment_linter {lintr} | R Documentation |
Check that <-
is always used for assignment.
assignment_linter(
allow_cascading_assign = TRUE,
allow_right_assign = FALSE,
allow_trailing = TRUE
)
allow_cascading_assign |
Logical, default |
allow_right_assign |
Logical, default |
allow_trailing |
Logical, default |
linters for a complete list of linters available in lintr.
https://style.tidyverse.org/syntax.html#assignment-1