`no_groups()` helper within *_split functions
Closed this issue · 1 comments
daranzolin commented
e.g.
iris %>%
group_by_split(
no_groups(),
Species
)
daranzolin commented
Turns out a comma is all that's needed:
library(hacksaw)
library(tidyverse)
iris %>%
group_by_split(
,
Species
) %>%
map(\(x) groups(x))
#> [[1]]
#> list()
#>
#> [[2]]
#> [[2]][[1]]
#> Species
Created on 2024-10-24 with reprex v2.0.2