Skip to content

monad

0.1.1

Operators and Generics for Monads

0packages depend
6Kdownloads / year
88.6%test coverage
11/13checks pass

Overview

About
Maintained by Mikko MarttilaFirst published 2024-10-281 releasesCRAN page ↗GitHub ↗

Compose generic monadic function pipelines with %>>% and %>-% based on implementing the 'S7' generics fmap() and bind(). Methods are provided for the built-in list type and the maybe class from the 'maybe' package. The concepts are modelled directly after the Monad typeclass in Haskell, but adapted for idiomatic use in R.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 56 s · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.39
88.6%
Coverage · measured lines
60%
Documentation · exports
1
Dependencies · direct
Check history
  • NOTE2026-07-11
    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 · 125 wordsVignettesNopkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
0%
Return-value docs
100%
References docs
33%

Downloads

6K
CRAN downloads in the past year
Rank #8,807 · ~16/day · ~500/mo
Daily download trend is not available in this view yet.
Also on96 r2u19 autocran

Repository

Repository
6Stars
0Forks
2Open issues
0Open PRs
1Releases
49Commits
1Contributors
49 commits · Last activity 2024-10-28

Stars over time

2025-03-18 · 62026-07-07 · 6

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/mikmart/monad on 2026-08-23.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1
Imports (1)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

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

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.1Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2024-10-28
Total releases
1 / 2 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1
Download size
8.2 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("monad")
Marttila, M. (2024). monad: Operators and Generics for Monads (Version 0.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.monad

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for monad version 0.1.1 [Data set]. HJJB, LLC. Data release v2026-08-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.

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