Movatterモバイル変換


[0]ホーム

URL:


purrr 1.2.0

Breaking changes

Minor improvements and bugfixes

purrr 1.1.0

purrr 1.0.4

purrr 1.0.3

purrr 1.0.2

purrr 1.0.1

purrr 1.0.0

Breaking changes

Core purpose refinements

Mapping

Deprecation next steps

New features

Flattening andsimplification

Tidyverse consistency

Plucking

Setting with NULL

list_ functions

Minor improvements and bugfixes

purrr 0.3.5

purrr 0.3.4

purrr 0.3.3

purrr 0.3.2

purrr 0.3.1

purrr 0.3.0

Breaking changes

Plucking

Mapping

Rates

partial()

The interface ofpartial() has been simplified. It nowsupports quasiquotation to control the timing of evaluation, and therlang::call_modify() syntax to control the position ofpartialised arguments.

Minor improvements and fixes

Life cycle

.dir arguments

We have standardised the purrr API for reverse iteration with acommon.dir argument.

Simplification ofpartial()

The interface ofpartial() has been simplified (see moreaboutpartial() below):

Retirement ofinvoke()

invoke() andinvoke_map() are retired infavour ofexec(). Note that retired functions are no longerunder active development, but continue to be maintained undefinitely inthe package.

Other lifecycle changes

purrr 0.2.5

purrr 0.2.4

purrr 0.2.3

Breaking changes

We noticed the following issues during reverse dependencieschecks:

Dependencies

purrr no longer depends on lazyeval or Rcpp (or dplyr, as of theprevious version). This makes the dependency graph of the tidyversesimpler, and makes purrr more suitable as a dependency of lower-levelpackages.

There have also been two changes to eliminate name conflicts betweenpurrr and dplyr:

pluck()

The plucking mechanism used for indexing into data structures withmap() has been extracted into the functionpluck(). Plucking is often more readable to extract anelement buried in a deep data structure. Compare this syntax-heavyextraction which reads non-linearly:

accessor(x[[1]])$foo

to the equivalent pluck:

x |> pluck(1, accessor, "foo")

Map helpers

Map functions

Modify functions

A newmodify() family returns the same output of thetype as the input.x. This is in contrast to themap() family which always returns a list, regardless of theinput type.

The modify functions are S3 generics. However their default methodsshould be sufficient for most classes since they rely on the semanticsof[<-.modify.default() is thus ashorthand forx[] <- map(x, f).

New functions

Minor improvements and bugfixes

purrr 0.2.2.1

This is a compatibility release with dplyr 0.6.0.

purrr 0.2.2

purrr 0.2.1

purrr 0.2.0

New functions

Row based functionals

We are still figuring out what belongs in dplyr and what belongs inpurrr. Expect much experimentation and many changes with thesefunctions.

Bug fixes and minor changes

Deprecated functions


[8]ページ先頭

©2009-2025 Movatter.jp