Skip to content

mirai

2.7.3Package record

Minimalist Async Evaluation Framework for R

37packages dependsuggested by 49
755.1Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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.

Changes in 2.7.3

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

CRAN checks
13OK
Slowest check: 1.8 min · r-oldrel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 2.7.3
READMEYes · 566 wordsVignettesYes · 8 · staticNEWSYes · 100% structured · mentions 2.7.3Citation fileNoWebsiteYes · pkgdown
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

755.1K
CRAN downloads in the past year
Rank #507 · ~2.1K/day · ~62.9K/mo
Daily download trend is not available in this view yet.
42K30 days
144K90 days
755.1K1 year
Compare downloads with other packages →
Also on35.8K r2u7 autocran7.9K conda_forge41 c2d4u

Repository

r-lib/mirai ↗Organization: r-lib
345Stars
19Forks
6Open issues
1Open PRs
53Releases
2,132Commits
12Commit identities
rconcurrencydistributed-computinghigh-performance-computingasynchronous-tasksparallel-computingasync
2,132 commits · Last activity 2026-10-19 · +1.2% stars, 30d · Default branch at 2.7.3.9000, ahead of CRAN 2.7.3 (checked 2026-10-18) · Discussions: 72 posts
Responsiveness
How these are sampled
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

2025-10-07 · 2872026-10-19 · 345
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (1)
Code of conduct
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-10-16 · The repository has a site deploy workflow

pkgdown site last built 2026-09-24

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 4 practices
CRAN release process (1)
cran-comments.md
For agents and models (1)
Agent skills
Lint, format, editor (2)
AirRStudio project
Git structural (1)
blame-ignore revs
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2025-10-15
    Seen in the repository: CLAUDE.md
    Named in .Rbuildignore: .claude, CLAUDE.md
    Named in .gitignore: .claude
Shared conventions any agent may read, so they name no particular tool.
Seen in the repository: AGENTS.md
How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)

Installing mirai adds 1 package (1 with compiled code, 911 KB of source tarballs). Heaviest: nanonext 911 KB.

Depends (1)
R >= 3.6
Imports (1)
LinkingTo (0)
none
Enhances (0)
none

People & History

People (4)
Author, Maintainer since 0.1.0 (2022)
Contributor · added in 1.3.0
Copyright holder · added in 0.5.0
Copyright holder, Funder · added in 2.0.0
Releases (51)

Pick two releases to compare their code metrics.

  • 2.7.3Latest
    record
    2026-09-24 · current release · diff ↗
  • 2.7.2
    record
    2026-07-20 · diff ↗
  • 2.7.1
    record
    2026-06-01 · diff ↗
  • 2.7.0
    record
    2026-05-08 · diff ↗ ·
    removed 1 export
    dispatcher
    added 1 export
    try_mirai
  • R
    R 4.6.0 released · 2026-04-24
  • 2.6.1
    record
    2026-03-02 · diff ↗
  • 2.6.0
    record
    2026-02-13 · diff ↗ ·
    added 1 export
    http_config
  • 2.5.3
    record
    2025-12-01 · diff ↗
  • 2.5.2
    record
    2025-11-05 · diff ↗
  • 2.5.1
    record
    2025-10-06 · diff ↗ ·
    added 1 export
    race_mirai
  • 2.5.0
    record
    2025-09-04 · diff ↗ ·
    added 3 exports
    info, local_daemons, with_daemons
  • 2.4.1
    record
    2025-07-15 · diff ↗
  • 2.4.0
    record
    2025-06-25 · diff ↗ ·
    removed 1 export
    call_mirai_
    added 2 exports
    cluster_config, require_daemons
  • 2.3.0
    record
    2025-05-23 · diff ↗ ·
    added 3 exports
    daemons_set, on_daemon, register_serial
  • R
    R 4.5.0 released · 2025-04-11
  • 2.2.0
    record
    2025-03-20 · diff ↗ ·
    removed 1 export
    register_cluster
Show 41 earlier eventsHide 41 earlier events
  • 2.1.0
    record
    2025-02-07 · diff ↗ ·
    removed 1 export
    saisei
  • 2.0.1
    record
    2025-01-16 · diff ↗ ·
    removed 1 export
    .progress_cli
    added 1 export
    nextcode
  • 2.0.0
    record
    2025-01-08 · diff ↗
  • 1.3.1
    record
    2024-11-15 · diff ↗ ·
    removed 1 export
    serialization
  • 1.3.0
    record
    2024-10-09 · diff ↗ ·
    removed 1 export
    .daemon
    added 1 export
    .progress_cli
  • 1.2.0
    record
    2024-08-18 · diff ↗ ·
    added 3 exports
    .flat, is_mirai_map, serial_config
  • 1.1.1
    record
    2024-07-01 · diff ↗
  • 1.1.0
    record
    2024-06-06 · diff ↗ ·
    added 4 exports
    .progress, .stop, collect_mirai, mirai_map
  • 1.0.0
    record
    2024-05-03 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.13.2
    record
    2024-04-11 · diff ↗ ·
    added 1 export
    register_cluster
  • 0.12.1
    record
    2024-02-02 · diff ↗
  • 0.12.0
    record
    2024-01-12 · diff ↗ ·
    added 1 export
    local_url
  • 0.11.3
    record
    2023-12-07 · diff ↗ ·
    added 2 exports
    call_mirai_, serialization
  • 0.11.2
    record
    2023-11-15 · diff ↗
  • 0.11.1
    record
    2023-11-04 · diff ↗ ·
    removed 2 exports
    %>>%, .
    added 2 exports
    everywhere, host_url
  • 0.11.0
    record
    2023-10-06 · diff ↗ ·
    removed 1 export
    server
    added 4 exports
    make_cluster, remote_config, ssh_config, stop_cluster
  • 0.10.0
    record
    2023-09-16 · diff ↗ ·
    added 2 exports
    nextget, nextstream
  • 0.9.1
    record
    2023-07-19 · diff ↗ ·
    removed 2 exports
    .server, launch_server
    added 5 exports
    .daemon, daemon, launch_local, launch_remote, status
  • 0.9.0
    record
    2023-06-24 · diff ↗
  • 0.8.7
    record
    2023-05-11 · diff ↗
  • 0.8.4
    record
    2023-05-09 · diff ↗ ·
    added 1 export
    .server
  • R
    R 4.3.0 released · 2023-04-21
  • 0.8.3
    record
    2023-04-17 · diff ↗ ·
    removed 1 export
    launch
    added 2 exports
    launch_server, saisei
  • 0.8.2
    record
    2023-04-03 · diff ↗ ·
    added 1 export
    launch
  • 0.8.1
    record
    2023-03-17 · diff ↗
  • 0.8.0
    record
    2023-03-15 · diff ↗ ·
    removed 1 export
    eval_mirai
    added 2 exports
    ., dispatcher
  • 0.7.2
    record
    2023-01-17 · diff ↗
  • 0.7.1
    record
    2022-11-15 · diff ↗ ·
    added 1 export
    is_mirai_interrupt
  • 0.7.0
    record
    2022-10-20 · diff ↗ ·
    added 1 export
    server
  • 0.6.0
    record
    2022-09-16 · diff ↗
  • 0.5.3
    record
    2022-08-16 · diff ↗ ·
    removed 1 export
    is_nul_byte
    added 2 exports
    is_error_value, is_mirai_error
  • 0.5.2
    record
    2022-07-21 · diff ↗
  • 0.5.0
    record
    2022-06-21 · diff ↗ ·
    added 1 export
    %>>%
  • R
    R 4.2.0 released · 2022-04-22
  • 0.4.1
    record
    2022-04-21 · diff ↗
  • 0.4.0
    record
    2022-04-14 · diff ↗ ·
    removed 2 exports
    ., ..
    added 1 export
    is_mirai
  • 0.2.0
    record
    2022-03-29 · diff ↗
  • 0.1.1
    record
    2022-03-15 · diff ↗ ·
    removed 1 export
    exec
    added 7 exports
    ., .., daemons, is_nul_byte, mirai, stop_mirai, unresolved
  • 0.1.0
    record
    2022-02-16
  • R
    R 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")
Gao, C., Hibiki AI Limited, Posit Software, PBC, & Cheng, J. (2026). mirai: Minimalist Async Evaluation Framework for R (Version 2.7.3) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for mirai version 2.7.3 [Data set]. HJJB, LLC. Data release v2026-10-20. https://doi.org/10.5281/zenodo.21843040

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.

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