You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tidyselect::all_of("x")
#> [1] "x"tidyselect::any_of("x")
#> Error:#> ! `any_of()` must be used within a *selecting* function.#> ℹ See <https://tidyselect.r-lib.org/reference/faq-selection-context.html>.
The text was updated successfully, but these errors were encountered:
How to proceed with selecting columns with an external vector in summarize_at?:
I got this warning if using vars() with summarize_at:
## Warning: Using an external vector in selections was deprecated in tidyselect 1.1.0.
## ℹ Please use `all_of()` or `any_of()` instead.
## # Was:
## data %>% select(anavars)
##
## # Now:
## data %>% select(all_of(anavars))
##
## See <https://tidyselect.r-lib.org/reference/faq-external-vector.html>.
And got this warning if using all_of()
## Warning: Using `all_of()` outside of a selecting function was deprecated in tidyselect
## 1.2.0.
## ℹ See details at
## <https://tidyselect.r-lib.org/reference/faq-selection-context.html>
The text was updated successfully, but these errors were encountered: