diff --git a/NEWS.md b/NEWS.md index 46c2605173..f12980cbaf 100644 --- a/NEWS.md +++ b/NEWS.md @@ -189,9 +189,10 @@ soft-deprecated, because there was no good alternative until now, but itis discouraged and will be soft-deprecated in the next minor release. -* Passing `...` to `across()` is deprecated because it's ambiguous when those - arguments are evaluated. Now, instead of (e.g.) `across(a:b, mean, na.rm = TRUE)` - you should write `across(a:b, ~ mean(.x, na.rm = TRUE))` (#6073). +* Passing `...` to `across()` is soft-deprecated because it's ambiguous when + those arguments are evaluated. Now, instead of (e.g.) + `across(a:b, mean, na.rm = TRUE)` you should write + `across(a:b, ~ mean(.x, na.rm = TRUE))` (#6073). * `all_equal()` is deprecated. We've advised against it for some time, and we explicitly recommend you use `all.equal()`, manually reordering the rows diff --git a/R/across.R b/R/across.R index a8cd6d8a9d..e24f7816c3 100644 --- a/R/across.R +++ b/R/across.R @@ -218,7 +218,7 @@ across <- function(.cols, " " = "# Now", " " = "across(a:b, \\(x) mean(x, na.rm = TRUE))" ) - lifecycle::deprecate_warn( + lifecycle::deprecate_soft( when = "1.1.0", what = "across(...)", details = details