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.
|Suggests:||testthat (≥ 3.0.0), quickcheck, covr|
|Author:||Andrew McNeil [aut, cre]|
|Maintainer:||Andrew McNeil <andrew.richard.mcneil at gmail.com>|
|License:||MIT + file LICENSE|
|CRAN checks:||maybe results|
|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|
Please use the canonical form https://CRAN.R-project.org/package=maybe to link to this page.