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]
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 29 Mar. 2025.
Previous versions and publish date:
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
02/2702/2803/0103/0203/0303/0403/0503/0603/0703/0803/0903/1003/1103/1203/1303/1403/1503/1603/1703/1803/1903/2003/2103/2203/2303/2403/2503/2603/2703/28Downloads for maybe02468101214161820222426TrendBars

Today's Hot Picks in Authors and Packages

gglgbtq  
Show Pride on 'ggplot2' Plots
Provides multiple palettes based on pride flags with tailored themes. ...
Download / Learn more Package Citations See dependency  
landmix  
Landmark Prediction for Mixture Data
Non-parametric prediction of survival outcomes for mixture data that incorporates covariates and a l ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  

23,842

R Packages

207,311

Dependencies

64,420

Author Associations

23,781

Publication Badges

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