← Back to home
Comparison · Analytics

mirai vs tern.mmrm

A side-by-side editorial comparison of mirai and tern.mmrm — release velocity, themes, recent moves, and the top alternatives to consider.

mirai vs tern.mmrm: at a glance

Featuremiraitern.mmrm
SectorAnalyticsAnalytics
Velocity score2.50.0
Sparks · 30d00
Top themesparallel-computing, async, backpressure, shinypharmaverse, mmrm, tabulation, maintenance
Last editorial update1h ago2h ago
WebsiteVisit →Visit →

What is mirai?

mirai removed its dispatcher process and added memory backpressure to the queue.

The async evaluation framework releases roughly monthly and moves fast at the architecture level. In 2.7.0 the dispatcher stopped being a separate process and became a thread, after its loop had already been rewritten in C inside nanonext one release earlier. The same release added an opt-in memory budget for queued task payloads and try_mirai(), which returns NULL immediately rather than blocking when that budget is exhausted.

Read the full mirai trajectory →

What is tern.mmrm?

An MMRM tabulation package that has published nothing since its 2024 CRAN releases.

tern.mmrm wraps mixed models for repeated measures into the tern tabulation and plotting layer used by teal clinical modules. The visible history ends with three CRAN releases in mid-to-late 2024; before that the feed carries only automated version bumps from 2022. The most recent change adds axis limit arguments to the LS-means plot.

Read the full tern.mmrm trajectory →

mirai vs tern.mmrm: editorial side-by-side

M
mirai
ANALYTICS
2.5

mirai removed its dispatcher process and added memory backpressure to the queue.

◆ Current state

The async evaluation framework releases roughly monthly and moves fast at the architecture level. In 2.7.0 the dispatcher stopped being a separate process and became a thread, after its loop had already been rewritten in C inside nanonext one release earlier. The same release added an opt-in memory budget for queued task payloads and try_mirai(), which returns NULL immediately rather than blocking when that budget is exhausted.

◆ Where it's heading

Two threads of work run together: cutting overhead out of the task path — thread-based dispatcher, in-process transport for synchronous daemons, lower per-element dispatch cost in mirai_map() — and making the framework safe to embed in an event loop, where blocking the host R thread is not acceptable. Deployment reach is growing too, with http_config() launching remote daemons over HTTP APIs and auto-configuring for Posit Workbench. Each release pins a minimum nanonext version, so the two packages advance as one unit.

◆ Prediction

With backpressure in place but opt-in, the open question these notes leave is whether a default memory budget arrives; continued overhead reduction and Shiny-facing non-blocking paths are the safer bet.

T
tern.mmrm
ANALYTICS
0.0

An MMRM tabulation package that has published nothing since its 2024 CRAN releases.

◆ Current state

tern.mmrm wraps mixed models for repeated measures into the tern tabulation and plotting layer used by teal clinical modules. The visible history ends with three CRAN releases in mid-to-late 2024; before that the feed carries only automated version bumps from 2022. The most recent change adds axis limit arguments to the LS-means plot.

◆ Where it's heading

Content per release is thin and largely organisational: a maintainer change, replacing scda with random.cdisc.data in vignettes, and adapting to new {mmrm} versions. The package appears to be in maintenance, tracking its upstream dependency rather than developing independently.

◆ Prediction

Nothing here signals new functionality; the realistic next event is another compatibility release when {mmrm} or {rtables} changes underneath it.

Alternatives to mirai and tern.mmrm

Other Analytics products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either mirai or tern.mmrm.

See all mirai alternatives → · See all tern.mmrm alternatives →

Recent activity from mirai and tern.mmrm

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 25d agomiraiMap collection and daemon lifecycle fixes
  2. 2mo agomiraiAgent skill ships in-package; HTTP headers take over auth
  3. 3mo agomiraiDispatcher becomes a thread, and the queue gains a memory budget
  4. 5mo agomiraiParallel RNG seeding leaves experimental status
  5. 6mo agomiraiRemote daemons over HTTP, and a C dispatcher loop
  6. 8mo agomiraiTelemetry span timing and daemon-switch fix
  7. 1y agotern.mmrmAxis limits added to the LS-means plot
  8. 2y agotern.mmrmMaintainer change and scda replaced in vignettes
  9. 2y agotern.mmrmCRAN 0.3.0 release, mostly workflow housekeeping
  10. 3y agotern.mmrm2022_10_13
  11. 3y agotern.mmrm2022_08_16
  12. 4y agotern.mmrm2022_06_09: [skip vbump] (#63)

Frequently asked questions

What is the difference between mirai and tern.mmrm?

They serve adjacent needs but don't currently overlap on shipped themes. mirai is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is mirai better than tern.mmrm?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. mirai is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. For your specific use case, the alternatives sections above list other Analytics products to evaluate alongside.

What are the best alternatives to mirai?

Top mirai alternatives in Analytics are ranked by recent ship velocity. Browse the "mirai alternatives" section above for the current picks, or visit /alternatives/mirai for the full list with editorial commentary on each.

What are the best alternatives to tern.mmrm?

Top tern.mmrm alternatives in Analytics are ranked by recent ship velocity. Browse the "tern.mmrm alternatives" section above for the current picks, or visit /alternatives/tern-mmrm for the full list with editorial commentary on each.