The maybe type represents the possibility of some value or nothing. It is often used instead of throwing an error or returning 'NULL'. The advantage of using a maybe type over 'NULL' is that it is both composable and requires the developer to explicitly acknowledge the potential absence of a value, helping to avoid the existence of unexpected behaviour.
Version: | 1.0.0 |
Imports: | magrittr |
Suggests: | testthat (≥ 3.0.0), quickcheck, covr |
Published: | 2022-05-28 |
Author: | Andrew McNeil [aut, cre] |
Maintainer: | Andrew McNeil <andrew.richard.mcneil at gmail.com> |
BugReports: | https://github.com/armcn/maybe/issues |
License: | MIT + file LICENSE |
URL: | https://github.com/armcn/maybe, https://armcn.github.io/maybe/ |
NeedsCompilation: | no |
Materials: | README NEWS |
CRAN checks: | maybe results |
Reference manual: | maybe.pdf |
Package source: | maybe_1.0.0.tar.gz |
Windows binaries: | r-devel: maybe_1.0.0.zip, r-release: maybe_1.0.0.zip, r-oldrel: maybe_1.0.0.zip |
macOS binaries: | r-release (arm64): maybe_1.0.0.tgz, r-oldrel (arm64): maybe_1.0.0.tgz, r-release (x86_64): maybe_1.0.0.tgz, r-oldrel (x86_64): maybe_1.0.0.tgz |
Old sources: | maybe archive |
Reverse imports: | chronicler |
Please use the canonical form https://CRAN.R-project.org/package=maybe to link to this page.