dub: 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.

Getting started

Package details

AuthorEugene Ha [aut, cre]
MaintainerEugene Ha <[email protected]>
LicenseMIT + file LICENSE
Version0.2.0
URL https://github.com/egnha/dub
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("dub")

Try the dub package in your browser

Any scripts or data that you put into this service are public.

dub documentation built on Oct. 27, 2018, 5:04 p.m.