Other packages > Find by keyword >

maybe  

The Maybe Monad
View on CRAN: Click here


Download and install maybe package within the R console
Install from CRAN:
install.packages("maybe")

Install from Github:
library("remotes")
install_github("cran/maybe")

Install by package version:
library("remotes")
install_version("maybe", "1.1.0")



Attach the package and use:
library("maybe")
Maintained by
Andrew McNeil
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2022-01-27
Latest Update: 2023-08-07
Description:
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.
How to cite:
Andrew McNeil (2022). maybe: The Maybe Monad. R package version 1.1.0, https://cran.r-project.org/web/packages/maybe. Accessed 25 Jul. 2026.
Previous versions and publish date:
(2026-07-09 06:28), 0.1.0 (2022-01-27 09:50), 0.2.0 (2022-02-11 21:50), 0.2.1 (2022-03-11 16:20), 1.0.0 (2022-05-28 18:30)
Other packages that cited maybe R package
View maybe citation profile
Other R packages that maybe depends, imports, suggests or enhances
Complete documentation for maybe
Functions, R codes and Examples using the maybe R package
Some associated functions: and . and_then . and_then2 . and_then3 . filter_justs . filter_map . from_just . is_just . is_maybe . is_nothing . just . maybe . maybe_case . maybe_contains . maybe_equal . maybe_flatten . maybe_map . maybe_map2 . maybe_map3 . not_empty . not_infinite . not_na . not_nan . not_null . not_undefined . nothing . or . perhaps . pipe . with_default . 
Some associated R codes: maybe.R . predicates.R . utils-pipe.R .  Full maybe package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

lomb  
Lomb-Scargle Periodogram
Computes the Lomb-Scargle Periodogram and actogram for evenly or unevenly sampled time series. Inclu ...
Download / Learn more Package Citations See dependency  
dendroextras  
Extra Functions to Cut, Label and Colour Dendrogram Clusters
Provides extra functions to manipulate dendrograms that build on the base functions provided by the ...
Download / Learn more Package Citations See dependency  
UnitStat  
Performs Unit Root Test Statistics
A test to understand the stability of the underlying stochastic data. Helps the user’s understand ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  

27,987

R Packages

239,283

Dependencies

74,234

Author Associations

27,988

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA