← Back to home
Comparison · Analytics

rmediation vs rnpn

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

rmediation vs rnpn: at a glance

Featurermediationrnpn
SectorAnalyticsAnalytics
Velocity score3.80.0
Sparks · 30d10
Top themesmediation analysis, numerical integration, correctness, s7 classesphenology, api-client, ecological-data, data-cleaning
Last editorial update6h ago49m ago
WebsiteVisit →Visit →

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 →

What is rnpn?

The USA phenology data client rebuilt its entire stack and stopped handing users -9999 as a number.

rnpn is the R client for the USA National Phenology Network, retrieving observation records, phenometrics and gridded model layers. Version 1.3.0 in March 2025 replaced nearly all of its infrastructure at once — sp and raster dropped, terra made optional, XML swapped for xml2, plyr for dplyr, httr and curl for httr2 — and changed what functions return, with tibbles in place of data.tables and empty tibbles in place of NULL on error. The two releases since have completed the missing-value handling and restored performance lost in the transition.

Read the full rnpn trajectory →

rmediation vs rnpn: editorial side-by-side

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.

R
rnpn
ANALYTICS
0.0

The USA phenology data client rebuilt its entire stack and stopped handing users -9999 as a number.

◆ Current state

rnpn is the R client for the USA National Phenology Network, retrieving observation records, phenometrics and gridded model layers. Version 1.3.0 in March 2025 replaced nearly all of its infrastructure at once — sp and raster dropped, terra made optional, XML swapped for xml2, plyr for dplyr, httr and curl for httr2 — and changed what functions return, with tibbles in place of data.tables and empty tibbles in place of NULL on error. The two releases since have completed the missing-value handling and restored performance lost in the transition.

◆ Where it's heading

The package is being brought onto the current R stack and made honest about missing data, and those are the same project. Converting the -9999 sentinel to NA started in 1.3.0 for download functions and was extended to all columns in 1.4.1; the string "emptyvalue" got the same treatment. Beyond the migration, the feature additions are modest and specific to the domain, such as custom start and end dates for defining a phenometrics season.

◆ Prediction

With the dependency migration finished and sentinel handling now applied across all columns, the next releases most likely return to domain features and to fixes surfaced by the server side, which has already prompted work through migrations and backend moves. The removed progress indicator is an acknowledged regression that may come back.

Alternatives to rmediation and rnpn

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

See all rmediation alternatives → · See all rnpn alternatives →

Recent activity from rmediation and rnpn

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

  1. 14h agormediationv1.7.0 — pprodnormal3() correctness fix
  2. 1mo agormediationp_prod3() renamed into the pprodnormal family
  3. 1mo agormediationProductNormal3: exact CDF for a product of three normals
  4. 2mo agormediationmedfit reaches CRAN; Remotes pointer dropped
  5. 11mo agornpnSentinel -9999 now converted to NA across all columns
  6. 1y agornpnCustom season windows for phenometrics, and a speed regression fixed
  7. 1y agornpnDependency stack and return types replaced wholesale
  8. 1y agornpnBackfilled notes for seven earlier maintenance releases

Frequently asked questions

What is the difference between rmediation and rnpn?

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

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

What are the best alternatives to rnpn?

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