Minimalist Async Evaluation Framework for R
Overview
Evaluates R expressions asynchronously and in parallel, locally or distributed across networks. An official parallel cluster type for R. Built on 'nanonext' and 'NNG', its non-polling, event-driven architecture scales from a laptop to thousands of processes across high-performance computing clusters and cloud platforms. Features FIFO scheduling with task cancellation and bounded queues, promises for reactive programming, 'OpenTelemetry' distributed tracing, and custom serialization for cross-language data types.
Updates
- Fixes a custom unserialization function (
ufunc) that errors crashing the daemon; the object now unserializes as an 'errorValue' 1000 instead (thanks @eitsupi, #646). - Requires nanonext >= 1.10.3.
From NEWS.md in the release
Install
Health
- OK13 OK2026-10-02
- ERROR12 OK, 1 ERROR2026-10-01
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-08
Show 4 earlier changesHide 4 earlier changes
- ERROR12 OK, 1 ERROR2026-06-07
- OK13 OK2026-05-09
- ERROR11 OK, 2 ERROR2026-04-28
- OK14 OK2026-03-10
Documentation
- Help pages
- 33 (2 internal)includes a package overview page
- Examples that run
- 100%29 run in a plain check (17 of them under a condition)
- Exported functions with examples
- 90%
- Documented parameters
- 100%
- Return-value docs
- 97%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 96%
- Median days to close, 50 most recently updated closed issues
- 1
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
13 development-tooling and community-health practices detected across 8 families in the upstream repository
Checks run against github.com/r-lib/mirai on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-10-16 · The repository has a site deploy workflow
pkgdown site last built 2026-09-24
Show all practicesHide 4 practices
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2025-10-15Seen in the repository: CLAUDE.mdNamed in .Rbuildignore: .claude, CLAUDE.mdNamed in .gitignore: .claude
Dependencies
Installing mirai adds 1 package (1 with compiled code, 911 KB of source tarballs). Heaviest: nanonext 911 KB.
Show the 48 most downloaded packagesHide the 48 most downloaded packages
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 2.7.3Latest
- 2.7.22026-07-20 · diff ↗
- 2.7.12026-06-01 · diff ↗
- 2.7.0
- RR 4.6.0 released · 2026-04-24
- 2.6.12026-03-02 · diff ↗
- 2.6.0
- 2.5.32025-12-01 · diff ↗
- 2.5.22025-11-05 · diff ↗
- 2.5.1
- 2.5.0
- 2.4.12025-07-15 · diff ↗
- 2.4.0
- 2.3.0
- RR 4.5.0 released · 2025-04-11
- 2.2.0
Show 41 earlier eventsHide 41 earlier events
- 2.1.0
- 2.0.1
- 2.0.02025-01-08 · diff ↗
- 1.3.1
- 1.3.0
- 1.2.0
- 1.1.12024-07-01 · diff ↗
- 1.1.0
- 1.0.02024-05-03 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.13.2
- 0.12.12024-02-02 · diff ↗
- 0.12.0
- 0.11.3
- 0.11.22023-11-15 · diff ↗
- 0.11.1
- 0.11.02023-10-06 · diff ↗ ·
removed 1 export
serveradded 4 exports
make_cluster, remote_config, ssh_config, stop_cluster - 0.10.0
- 0.9.12023-07-19 · diff ↗ ·
removed 2 exports
.server, launch_serveradded 5 exports
.daemon, daemon, launch_local, launch_remote, status - 0.9.02023-06-24 · diff ↗
- 0.8.72023-05-11 · diff ↗
- 0.8.4
- RR 4.3.0 released · 2023-04-21
- 0.8.3
- 0.8.2
- 0.8.12023-03-17 · diff ↗
- 0.8.0
- 0.7.22023-01-17 · diff ↗
- 0.7.1
- 0.7.0
- 0.6.02022-09-16 · diff ↗
- 0.5.3
- 0.5.22022-07-21 · diff ↗
- 0.5.0
- RR 4.2.0 released · 2022-04-22
- 0.4.12022-04-21 · diff ↗
- 0.4.0
- 0.2.02022-03-29 · diff ↗
- 0.1.12022-03-15 · diff ↗ ·
removed 1 export
execadded 7 exports
., .., daemons, is_nul_byte, mirai, stop_mirai, unresolved - 0.1.02022-02-16
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2022-02-16
- Total releases
- 51 / 4 yrs
- License
- MIT + file LICENSE OSI · relicensed from GPL (>= 3) in 2.3.0
- Minimum R
- ≥ 3.6
- Download size
- 207 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("mirai")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.