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.


News

dub

0.2.0

Breaking change

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

0.1.0

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.

install.packages("dub")

0.2.0 by Eugene Ha, 8 months ago


https://github.com/egnha/dub


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