Skip to content

maybe

1.1.0

The Maybe Monad

6packages depend
3.9Kdownloads / year
100.0%test coverage
12/13checks pass

Overview

About
Maintained by Andrew McNeilFirst published 2022-01-275 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
1NOTE12OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 8.1 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 1.28
100.0%
Coverage · measured lines
97%
Documentation · exports
1
Dependencies · direct
Check history
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 718 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
98%
Return-value docs
100%
References docs
0%

Downloads

3.9K
CRAN downloads in the past year
Rank #11,788 · ~11/day · ~324/mo
Daily download trend is not available in this view yet.
23630 days
85990 days
3.9K1 year
Compare downloads with other packages →
Also on99 r2u2 autocran908 conda_forge

Repository

Repository
49Stars
1Forks
0Open issues
0Open PRs
5Releases
47Commits
1Contributors
functional-programmingrstatsr
47 commits · Last activity 2023-08-10 · 0% stars, 30d

Stars over time

2024-10-13 · 472026-07-07 · 49

Repository practices

Upstream repositoryBeta

5 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/armcn/maybe on 2026-07-31.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
Show all practices
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (1)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
6direct
0indirect

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

5 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1.0Latest
    2023-08-07 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.0
    2022-05-28 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.2.1
    2022-03-11 · diff ↗
  • 0.2.0
    2022-02-11 · diff ↗
  • 0.1.0
    2022-01-27
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2022-01-27
Total releases
5 / 4 yrs
License
MIT + file LICENSE OSI
Download size
459 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy