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
var<-"y"
tibble(y= seq(letters)) |> mutate(x=letters, .before=var)
# Using an external vector in selections was deprecated in tidyselect 1.1.0.# ℹ Please use `all_of()` or `any_of()` instead.# # Was:# data %>% select(var)## # Now:# data %>% select(all_of(var))# See <https://tidyselect.r-lib.org/reference/faq-external-vector.html>.# This warning is displayed once every 8 hours.# Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated.
I find this warning message misleading and unclear. In a script using both select() and mutate(), the message distracts us from the actual function raising the warning. In a script with no select(), it's unclear the warning originate from mutate's .before/.after.
The text was updated successfully, but these errors were encountered:
Here's the warning raised by the following code:
I find this warning message misleading and unclear. In a script using both
select()
andmutate()
, the message distracts us from the actual function raising the warning. In a script with noselect()
, it's unclear the warning originate from mutate's.before
/.after
.The text was updated successfully, but these errors were encountered: