Unpacking Assignment for Lists via Pattern Matching

Provides an operator for assigning nested components of a list to names via a concise pattern matching syntax. This is especially convenient for assigning individual names to the multiple values that a function may return in the form of a list, and for extracting deeply nested list components.




Breaking change

  • %<=%, %=>% have been renamed %<<-%, %->>%, because <= renders as a less-than-or-equal symbol in fonts with ligatures (such as Fira Code).


Initial release

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.2.0 by Eugene Ha, 8 months ago


Report a bug at https://github.com/egnha/dub/issues

Browse source code at https://github.com/cran/dub

Authors: Eugene Ha [aut, cre]

Documentation:   PDF Manual  

MIT + file LICENSE license

Suggests covr, testthat

See at CRAN