I (only! but luckily!) recently got introduced to the magic of purrr::reduce()
. Thank you, Tobias! I was told about it right as I was unhappily using many for loops in a package1, for lack of a better idea. In this post I’ll explain how purrr::reduce()
helped me reduce my for loop usage. I also hope …