tidyverse / purrr

A functional programming toolkit for R
https://purrr.tidyverse.org/
Other
1.27k stars 271 forks source link

Revert allowing data frames in `list_transpose()` #1149

Closed DavisVaughan closed 3 weeks ago

DavisVaughan commented 3 weeks ago

Reverts #1141

@KimLopezGuell we have looked at this a bit more in detail and decided that we actually should not have labeled this an issue for TDD, that is totally our fault! We do actually want to be strict about list_transpose() only allowing lists, not data frames, just like almost every other list_*() function in both purrr and vctrs. But your PR was great, and we hope you had a lot of fun at TDD! I've reused your test as an additional check for this going forward, so not all was lost!