← Back to home
Comparison · Analytics

moderndive vs rmediation

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

moderndive vs rmediation: at a glance

Featuremoderndivermediation
SectorAnalyticsAnalytics
Velocity score2.53.8
Sparks · 30d01
Top themesstatistics-education, webr, regression, r-packagemediation analysis, numerical integration, correctness, s7 classes
Last editorial update1h ago2h ago
WebsiteVisit →Visit →

What is moderndive?

The ModernDive teaching package learns to render inside the browser that runs its own textbook

moderndive supplies the datasets, regression helpers and ggplot geoms used by the ModernDive introductory statistics textbook. Its release history is mostly dataset accumulation — much of it contributed by students in batches — punctuated by occasional function work. The latest release is different: it fixes View() so it renders inside webR, the in-browser R that powers the book's live exercises, and reworks the regression helpers to survive in-formula transformations.

Read the full moderndive trajectory →

What is rmediation?

RMediation shipped a three-normal CDF, then found it was silently wrong.

RMediation is a long-standing CRAN package for confidence intervals on mediated effects, now built on an S7 class hierarchy. Over eight weeks it added ProductNormal3 for serial indirect effects of the form a1*a2*b, folded the engine into the existing pprodnormal naming family, and then replaced that engine outright after finding it returned wrong probabilities without warning. The dev branch is at 1.7.0; CRAN still serves 1.6.1.

Read the full rmediation trajectory →

moderndive vs rmediation: editorial side-by-side

M
moderndive
ANALYTICS
2.5

The ModernDive teaching package learns to render inside the browser that runs its own textbook

◆ Current state

moderndive supplies the datasets, regression helpers and ggplot geoms used by the ModernDive introductory statistics textbook. Its release history is mostly dataset accumulation — much of it contributed by students in batches — punctuated by occasional function work. The latest release is different: it fixes View() so it renders inside webR, the in-browser R that powers the book's live exercises, and reworks the regression helpers to survive in-formula transformations.

◆ Where it's heading

The package is following the textbook's second edition into the browser. webR has no pandoc, so the DT htmlwidget path the package relied on cannot produce the self-contained HTML the notebook cell needs, and the auto-print path was gated behind interactive() being false — meaning students working through the live exercises saw an explanatory message where a table should have been. Building a static HTML table and pushing it through webR's viewer hook is a small change with a direct effect on whether the book's interactive mode works at all.

◆ Prediction

With the book's v2 datasets landed and the browser rendering path fixed, the remaining friction is most likely in other functions that assume a desktop R session.

R
rmediation
ANALYTICS
3.8

RMediation shipped a three-normal CDF, then found it was silently wrong.

◆ Current state

RMediation is a long-standing CRAN package for confidence intervals on mediated effects, now built on an S7 class hierarchy. Over eight weeks it added ProductNormal3 for serial indirect effects of the form a1*a2*b, folded the engine into the existing pprodnormal naming family, and then replaced that engine outright after finding it returned wrong probabilities without warning. The dev branch is at 1.7.0; CRAN still serves 1.6.1.

◆ Where it's heading

The package is moving from a hand-rolled numerical layer to one that checks itself: the new default integrator escalates its node count until successive rules agree, warns when it hits the cap instead of returning a number, and exposes a diagnostics argument for the convergence estimate. The correctness fix went to dev ahead of the CRAN window rather than being held for it, which suggests wrong-answer bugs are treated as release-blocking regardless of cadence. Serial mediation is where the new surface area is concentrated.

◆ Prediction

1.7.0 exists specifically to land before CRAN's 2026-08-21 update window, so the next move is a CRAN submission promoting it to main; whether hcubature survives past that as a cross-check option is the open question.

Alternatives to moderndive and rmediation

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 moderndive or rmediation.

See all moderndive alternatives → · See all rmediation alternatives →

Recent activity from moderndive and rmediation

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

  1. 9h agormediationv1.7.0 — pprodnormal3() correctness fix
  2. 12d agomoderndiveView() renders in webR; regression helpers survive formula transforms
  3. 1mo agormediationp_prod3() renamed into the pprodnormal family
  4. 1mo agormediationProductNormal3: exact CDF for a product of three normals
  5. 1mo agormediationmedfit reaches CRAN; Remotes pointer dropped
  6. 1y agomoderndiveDatasets and tidy_summary() for the second edition
  7. 2y agomoderndiveAlmond and flight datasets for the inference chapters
  8. 4y agomoderndiveTen student-curated teaching datasets
  9. 4y agomoderndiveAlaska flights subset added
  10. 5y agomoderndiveCleaner regression tables and an explicit conf.level argument

Frequently asked questions

What is the difference between moderndive and rmediation?

They serve adjacent needs but don't currently overlap on shipped themes. rmediation is currently shipping more aggressively (velocity 3.8 vs 2.5), with 1 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 moderndive better than rmediation?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. rmediation is currently shipping more aggressively (velocity 3.8 vs 2.5), with 1 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 moderndive?

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

What are the best alternatives to rmediation?

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