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

Allow usage of default .cols in across() #231

Merged
merged 3 commits into from
Mar 23, 2021

Conversation

markfairbanks
Copy link
Collaborator

reprex of issue fixed:

library(dtplyr)
library(dplyr)

test_df <- tibble(x = 1:3, y = 1:3)

lazy_dt(test_df) %>%
  mutate(across(.fns = ~ .x + 1))
#> Error: Can't rename variables in this context.

@hadley hadley merged commit 348409a into tidyverse:master Mar 23, 2021
@hadley
Copy link
Member

hadley commented Mar 23, 2021

Thanks!

@markfairbanks markfairbanks deleted the across-cols-default branch March 28, 2021 13:56
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 this pull request may close these issues.

2 participants