You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add_count() is not generic in contrast to count(). As add_count() uses mostly exported dplyr verbs it almost works correctly in dbplyr and dtplyr. The issue is that the resulting table is grouped.
There are basically two solutions to this:
make add_count() generic or
Remove the check for is.data.frame(x) in add_count():
# last lines of `add_count()`if (is.data.frame(x)) {
out<- dplyr_reconstruct(out, x)
}
out
Then it would only be necessary to implement dplyr_reconstruct() for tbl_lazy in dbplyr and dtplyr_step in dtplyr
The text was updated successfully, but these errors were encountered:
add_count()
is not generic in contrast tocount()
. Asadd_count()
uses mostly exporteddplyr
verbs it almost works correctly indbplyr
anddtplyr
. The issue is that the resulting table is grouped.There are basically two solutions to this:
add_count()
generic oris.data.frame(x)
inadd_count()
:Then it would only be necessary to implement
dplyr_reconstruct()
fortbl_lazy
indbplyr
anddtplyr_step
indtplyr
The text was updated successfully, but these errors were encountered: