-
Notifications
You must be signed in to change notification settings - Fork 60
Closed
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behaviordplyr-compat 💞dplyr compatibility issuesdplyr compatibility issues
Description
Count doesn't seem to work , I'm using R 4.0 and dtplyr 1.0.1.9000
Borrowed the repex that was shown to work from issue 97 #97
suppressPackageStartupMessages(library(dplyr))
library(dtplyr)
mtcars %>%
group_by(vs) %>%
count(am)
#> # A tibble: 4 x 3
#> # Groups: vs [2]
#> vs am n
#> <dbl> <dbl> <int>
#> 1 0 0 12
#> 2 0 1 6
#> 3 1 0 7
#> 4 1 1 7
mtcars %>%
lazy_dt() %>%
group_by(vs) %>%
count(am)
#> Source: local data table [?? x 4]
#> Call: copy(`_DT1`)[, `:=`(.add = TRUE), keyby = .(vs)][, .(n = .N),
#> keyby = .(am, .add, .drop)]
#> Error in eval(bysub, x, parent.frame()): object '.drop' not foundCreated on 2020-06-05 by the reprex package (v0.3.0)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behaviordplyr-compat 💞dplyr compatibility issuesdplyr compatibility issues