I would suggest moving from the formula style to anonymous functions since the formula syntax is not recommended unless using old R versions. I would personally vote for the lambda syntax since it's shorter, personal preference, and since it's used in the docs of tidyverse packages.
I would suggest moving from the formula style to anonymous functions since the formula syntax is not recommended unless using old R versions. I would personally vote for the lambda syntax since it's shorter, personal preference, and since it's used in the docs of tidyverse packages.
https://purrr.tidyverse.org/reference/map.html
Deprecation notes for 1.0.0: https://www.tidyverse.org/blog/2022/12/purrr-1-0-0/#documentation