Skip to content

Commit 29b36b1

Browse files
authored
Update comment that referred to a formula (#1201)
But the example has been changed to use the base lambda.
1 parent 928c928 commit 29b36b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

R/keep.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#' map(sample, 5) |>
2626
#' keep(function(x) mean(x) > 6)
2727
#'
28-
#' # Or use a formula
28+
#' # Or use shorthand form
2929
#' rep(10, 10) |>
3030
#' map(sample, 5) |>
3131
#' keep(\(x) mean(x) > 6)

man/keep.Rd

Lines changed: 1 addition & 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)