Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove purrr::map_dfc, purrr::map_dfr and similar calls #1039

Open
gilbertocamara opened this issue Nov 18, 2023 · 0 comments
Open

Remove purrr::map_dfc, purrr::map_dfr and similar calls #1039

gilbertocamara opened this issue Nov 18, 2023 · 0 comments
Assignees

Comments

@gilbertocamara
Copy link
Contributor

Describe the requested improvement
According to the new purrr 1.0.0, these calls have been superseded. The help says:

"The functions were superseded in purrr 1.0.0 because their names suggest they work like ⁠_lgl()⁠, ⁠_int()⁠, etc which require length 1 outputs, but actually they return results of any size because the results are combined without any size checks. Additionally, they use dplyr::bind_rows() and dplyr::bind_cols() which require dplyr to be installed and have confusing semantics with edge cases. Superseded functions will not go away, but will only receive critical bug fixes.

Instead, we recommend using map(), map2(), etc with purrr::list_rbind() and purrr::list_cbind().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants