nathaneastwood / poorman

A poor man's dependency free grammar of data manipulation
https://nathaneastwood.github.io/poorman/
Other
340 stars 15 forks source link

Fix empty groups tests #82

Open nathaneastwood opened 3 years ago

nathaneastwood commented 3 years ago

See inst/tinytest/test_empty_groups.R.

nathaneastwood commented 3 years ago

I am pausing the work on this until I get an answer to: https://twitter.com/nathaneastwood_/status/1376145804705021959?s=20

nathaneastwood commented 3 years ago

More information: https://stackoverflow.com/questions/66840953/how-does-dplyr-handle-empty-groups-when-displaying-groups-attribute

nathaneastwood commented 3 years ago

It would appear that the groups are created by recursively splitting: https://github.com/tidyverse/dplyr/issues/5830