tidyverse / purrr

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

Add example to map_dfr()/map_dfc() #1140

Closed maike2011 closed 3 months ago

maike2011 commented 3 months ago

Example to demonstrate an edge case, where map_dfr() works, but can not be replaced by list_rbind(). Fixes #1074

hadley commented 3 months ago

Thanks for working on this! While looking at this with fresh eyes, I realised that an even simpler approach is to use modify().