sits icon indicating copy to clipboard operation
sits copied to clipboard

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

Open gilbertocamara opened this issue 1 year ago • 1 comments

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().

gilbertocamara avatar Nov 18 '23 19:11 gilbertocamara

Implement .map_dfr() and .map_dfc() internal functions.

OldLipe avatar Jun 18 '24 17:06 OldLipe