| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| purrr 1.2.0 source code.tar.gz | 2025-11-03 | 395.3 kB | |
| purrr 1.2.0 source code.zip | 2025-11-03 | 515.0 kB | |
| README.md | 2025-11-03 | 1.9 kB | |
| Totals: 3 Items | 912.1 kB | 0 | |
Breaking changes
-
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(), andreduce_right(). -
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(). -
map_chr()no longer coereces from logical, integer, or double to strings. -
every(),some(), andnone()now require that.preturn logical scalarTRUE,FALSE, orNA. Previously,NAwas allowed to be a non-logicalNA, and would be coerced to a logicalNA.
Minor improvements and bug fixes
-
New "getting started" vignette,
vignette("purrr")(#915, @ogolovkina). -
every(),some(), andnone()are now more performant. They are now as fast as or faster than their equivalentany(map_lgl())orall(map_lgl())calls (#1036, @ErdaradunGaztea). -
as_mapper.default()optimized by removing special named argument handling for primitive functions (@mtcarsalot, [#1088]). -
list_flatten()gains anis_nodeparameter taking a predicate function that determines whether an input element is a node or a leaf (@salim-b, [#1179]). -
in_parallel()now accepts objects, including helper functions, supplied to...for all locally-defined functions (#1208). -
in_parallel()now works in conjunction with string and list values supplied to the.progressargument of map functions (#1203). -
map(),map2(), andpmap()now automatically set the correct environment so thatformatstrings to access to local variables (@jcolt45, [#1078]). -
map_vec()no longer fails on empty named lists (#1206).