Package: optional 2.0.1

optional: Optional Types and Pattern Matching

Introduces optional types with some() and none, as well as match_with() from functional languages.

Authors:Antoine Champion

optional_2.0.1.tar.gz
optional_2.0.1.zip(r-4.5)optional_2.0.1.zip(r-4.4)optional_2.0.1.zip(r-4.3)
optional_2.0.1.tgz(r-4.4-any)optional_2.0.1.tgz(r-4.3-any)
optional_2.0.1.tar.gz(r-4.5-noble)optional_2.0.1.tar.gz(r-4.4-noble)
optional_2.0.1.tgz(r-4.4-emscripten)optional_2.0.1.tgz(r-4.3-emscripten)
optional.pdf |optional.html
optional/json (API)
NEWS

# Install 'optional' in R:
install.packages('optional', repos = c('https://antoinechampion.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/antoinechampion/optional/issues

On CRAN:

librarynullableoptionalpattern-matching

4.26 score 1 stars 36 scripts 178 downloads 1 mentions 7 exports 1 dependencies

Last updated 3 years agofrom:1d73846cac. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 05 2024
R-4.5-winOKNov 05 2024
R-4.5-linuxOKNov 05 2024
R-4.4-winOKNov 05 2024
R-4.4-macOKNov 05 2024
R-4.3-winOKNov 05 2024
R-4.3-macOKNov 05 2024

Exports:fallthroughmake_optmatch_withnoneopt_unwrapoptionsome

Dependencies:magrittr

User Guide

Rendered fromUserGuide.Rmdusingknitr::rmarkdownon Nov 05 2024.

Last update: 2022-04-27
Started: 2017-07-27

Readme and manuals

Help Manual

Help pageTopics
Fallthrough functionfallthrough
Make optionalmake_opt
Match Withmatch_with
Nonenone
Option Unwrapopt_unwrap
optionoption
somesome