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

Anonymous functions aren't translated properly inside across() #370

Open
markfairbanks opened this issue Jun 25, 2022 · 0 comments
Open
Labels
bug an unexpected problem or unintended behavior

Comments

@markfairbanks
Copy link
Collaborator

library(dtplyr)
library(dplyr, warn.conflicts = FALSE)

lazy_dt(tibble(y = 1)) %>% 
  mutate(across(y, function(x) x + n()))
#> Error in `n()`:
#> ! Must be used inside dplyr verbs.
@markfairbanks markfairbanks added the bug an unexpected problem or unintended behavior label Jun 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

1 participant