Download Latest Version purrr 1.2.1 source code.tar.gz (395.3 kB)
Email in envelope

Get an email when there's a new version of purrr

Home / v1.2.0
Name Modified Size InfoDownloads / 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(), and reduce_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(), 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.

Minor improvements and bug fixes

  • New "getting started" vignette, vignette("purrr") (#915, @ogolovkina).

  • every(), some(), and none() are now more performant. They are now as fast as or faster than their equivalent any(map_lgl()) or all(map_lgl()) calls (#1036, @ErdaradunGaztea).

  • as_mapper.default() optimized by removing special named argument handling for primitive functions (@mtcarsalot, [#1088]).

  • list_flatten() gains an is_node parameter 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 .progress argument of map functions (#1203).

  • map(), map2(), and pmap() now automatically set the correct environment so that format strings to access to local variables (@jcolt45, [#1078]).

  • map_vec() no longer fails on empty named lists (#1206).

Source: README.md, updated 2025-11-03