Skip to content

Commit 8d96145

Browse files
Update seq_linter() docs (#2644)
1 parent 3358539 commit 8d96145

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

R/seq_linter.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
#' Additionally, it checks for `1:n()` (from `{dplyr}`) and `1:.N` (from `{data.table}`).
88
#'
99
#' These often cause bugs when the right-hand side is zero.
10-
#' It is safer to use [base::seq_len()] or [base::seq_along()] instead.
10+
#' Instead, it is safer to use [base::seq_len()] (to create a sequence of a specified *length*) or
11+
#' [base::seq_along()] (to create a sequence *along* an object).
1112
#'
1213
#' @examples
1314
#' # will produce lints

man/seq_linter.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)