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 06 May. 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
04/0604/0704/0804/0904/1004/1104/1204/1304/1404/1504/1604/1704/1804/1904/2004/2104/2204/2304/2404/2504/2604/2704/2804/2904/3005/0105/0205/0305/04Downloads for maybe0246810121416182022TrendBars

Today's Hot Picks in Authors and Packages

rotations  
Working with Rotation Data
Tools for working with rotational data, including simulation from the most commonly used distributi ...
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  
HuraultMisc  
Guillem Hurault Functions' Library
Contains various functions for data analysis, notably helpers and diagnostics for Bayesian modelling ...
Download / Learn more Package Citations See dependency  
tbrf  
Time-Based Rolling Functions
Provides rolling statistical functions based on date and time windows instead of n-lagged observatio ...
Download / Learn more Package Citations See dependency  
simfam  
Simulate and Model Family Pedigrees with Structured Founders
The focus is on simulating and modeling families with founders drawn from a structured population (f ...
Download / Learn more Package Citations See dependency  
netUtils  
A Collection of Tools for Network Analysis
Provides a collection of network analytic (convenience) functions which are missing in other standar ...
Download / Learn more Package Citations See dependency  

24,205

R Packages

207,311

Dependencies

65,312

Author Associations

24,206

Publication Badges

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