purrr breaking changes
cran9 curated breaking changes across major versions of purrr. Use this as a migration checklist before bumping dependencies.
- v1.1.0 \u2192 v1.2.0breaking
All functions and arguments deprecated in purrr 0.3.0 have now been removed. This includes `%@%`, `accumulate_right()`, `at_depth()`, `cross_d()`, `cross_n()`, `reduce2_right()`, and `reduce_right()`.
- v1.1.0 \u2192 v1.2.0breaking
All functions that were soft-deprecated in purrr 1.0.0 are now fully deprecated. They will be removed in a future release. This includes: `invoke_*()`, `lift_*()`, `cross*()`, `prepend()`, `splice()`, `rbernoulli()`, `rdunif()`, `when()`, `update_list()`, `*_raw()`, `vec_depth()`.
- v1.1.0 \u2192 v1.2.0breaking
`map_chr()` no longer coereces from logical, integer, or double to strings.
- v1.1.0 \u2192 v1.2.0breaking
`every()`, `some()`, and `none()` now require that `.p` return logical scalar `TRUE`, `FALSE`, or `NA`. Previously, `NA` was allowed to be a non-logical `NA`, and would be coerced to a logical `NA`.
- v0.2.5 \u2192 v0.3.0breaking
`modify()` and variants are now wrapping `[[<-` instead of `[<-`. This change increases the genericity of these functions but might cause different behaviour in some cases. For instance, the `[[<-` for data frames is stricter than the `[<-` method and might throw errors instead of warnings. This is the case when assigning a longer vector than the number of rows. `[<-` truncates the vector with a warning, `[[<-` fails with an error (as is appropriate).
- v0.2.5 \u2192 v0.3.0breaking
`modify()` and variants now return the same type as the input when the input is an atomic vector.
- v0.2.5 \u2192 v0.3.0breaking
All functionals taking predicate functions (like `keep()`, `detect()`, `some()`) got stricter. Predicate functions must now return a single `TRUE` or `FALSE`. This change is meant to detect problems early with a more meaningful error message.
- v0.2.2 \u2192 v0.2.3breaking
If `reduce()` fails with this message: ``` Error: `.x` is empty, and no `.init` supplied ``` this is because `reduce()` now returns `.init` when `.x` is empty. Fix the problem by supplying an appropriate argument to `.init`, or by providing special behaviour when `.x` has length 0.
- v0.2.2 \u2192 v0.2.3breaking
The type predicates have been migrated to rlang. Consequently the `bare-type-predicates` documentation topic is no longer in purrr, which might cause a warning if you cross-reference it.
Get this data programmatically \u2014 free, no authentication.
curl https://depscope.dev/api/breaking/cran/purrr