Behaves similarly to dplyr::group_split(), with the addition of named list elements. Borrowed from Romain Francois in this dplyr issue: https://github.com/tidyverse/dplyr/issues/4223
Behaves similarly to dplyr::group_split(), with the addition of named list elements. Borrowed from Romain Francois in this dplyr issue: https://github.com/tidyverse/dplyr/issues/4223