| seq_linter {lintr} | R Documentation |
Check for 1:length(...), 1:nrow(...), 1:ncol(...), 1:NROW(...) and 1:NCOL(...) expressions.
These often cause bugs when the right-hand side is zero.
It is safer to use base::seq_len() or base::seq_along() instead.
seq_linter()
best_practices, consistency, default, efficiency, robustness
linters for a complete list of linters available in lintr.