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

lazy_dt() doesn't respect grouping #206

Closed
mgirlich opened this issue Mar 2, 2021 · 0 comments · Fixed by #207
Closed

lazy_dt() doesn't respect grouping #206

mgirlich opened this issue Mar 2, 2021 · 0 comments · Fixed by #207

Comments

@mgirlich
Copy link
Collaborator

mgirlich commented Mar 2, 2021

The grouping information is lost after using lazy_dt()

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

tibble(x = 1) %>% 
  group_by(x) %>% 
  lazy_dt()
#> Source: local data table [1 x 1]
#> Call:   `_DT1`
#> 
#>       x
#>   <dbl>
#> 1     1
#> 
#> # Use as.data.table()/as.data.frame()/as_tibble() to access results

Created on 2021-03-02 by the reprex package (v1.0.0)

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