Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More informative error message when across() is used in wrong context #5180

Closed
lionel- opened this issue May 4, 2020 · 0 comments · Fixed by #5194
Closed

More informative error message when across() is used in wrong context #5180

lionel- opened this issue May 4, 2020 · 0 comments · Fixed by #5194

Comments

@lionel-
Copy link
Member

lionel- commented May 4, 2020

iris %>% pivot_longer(across(is.numeric))
#> Error: peek_mask() must only be used inside dplyr verbs
romainfrancois added a commit that referenced this issue May 6, 2020
* Better error messages for across() and c_across() when used out of dplyr context.

closes #5180

* no need for fun =

* simplify condition
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant