← Back to home
Comparison · Analytics

collapse vs tern.mmrm

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

collapse vs tern.mmrm: at a glance

Featurecollapsetern.mmrm
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesdata-transformation, performance, simd, grouped-statisticspharmaverse, mmrm, tabulation, maintenance
Last editorial update7h ago1h ago
WebsiteVisit →Visit →

What is collapse?

collapse got a JSS paper and a 7x fmean speedup in the same release.

collapse provides fast grouped statistical computing and data transformation for R, built on a C backend with its own grouping, hashing and aggregation primitives. The 2.1.x line is a maintenance and optimization series: SIMD multiple-accumulator work delivering roughly 2x on fsum() and 7x on fmean() for systems without OpenMP, a custom internal unlist() with better attribute preservation, and a steady stream of correctness fixes in collap(), pivot() and roworderv().

Read the full collapse 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, three of which have just been backfilled into the record. The most recent substantive change adds axis limit arguments to the LS-means plot.

Read the full tern.mmrm trajectory →

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

C
collapse
ANALYTICS
0.0

collapse got a JSS paper and a 7x fmean speedup in the same release.

◆ Current state

collapse provides fast grouped statistical computing and data transformation for R, built on a C backend with its own grouping, hashing and aggregation primitives. The 2.1.x line is a maintenance and optimization series: SIMD multiple-accumulator work delivering roughly 2x on fsum() and 7x on fmean() for systems without OpenMP, a custom internal unlist() with better attribute preservation, and a steady stream of correctness fixes in collap(), pivot() and roworderv().

◆ Where it's heading

The package is consolidating institutionally as much as technically. The repository moved to the fastverse organization with multiple people granted access, the Journal of Statistical Software paper landed as the primary citation, and documentation now includes an AI-generated interactive layer. Technically the focus is the hashing and grouping core — the decision to treat -0 and 0 as equal across funique(), group(), fmatch(), fmode() and their derivatives was made in sync with an equivalent change in Rcpp, and accepted a measured 3% cost to get it. The last release with breaking changes sits outside this six-entry window.

◆ Prediction

Expect further targeted performance work on the grouped statistical functions and continued small correctness fixes; the governance move to fastverse suggests contribution volume rather than direction is what the maintainer is managing.

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, three of which have just been backfilled into the record. The most recent substantive 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. The 2022 entries now visible are release-automation commits, not releases in any meaningful sense.

◆ Prediction

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

Alternatives to collapse 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 collapse or tern.mmrm.

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

Recent activity from collapse and tern.mmrm

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

  1. 2mo agocollapseSIMD accumulators give fmean a 7x speedup without OpenMP
  2. 7mo agocollapseNegative zero now hashes equal to zero across the package
  3. 8mo agocollapsecollap() no longer double-aggregates external weights
  4. 9mo agocollapseCustom unlist() preserves attributes
  5. 0y agocollapseAssorted bug fixes
  6. 1y agocollapsena_insert gains by-reference mode; gsplit and pivot speed up
  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.mmrmAutomated version bump to 0.2.1
  11. 3y agotern.mmrmPre-release branch merge
  12. 4y agotern.mmrmCI automation commit, no release content

Frequently asked questions

What is the difference between collapse and tern.mmrm?

They serve adjacent needs but don't currently overlap on shipped themes. collapse and tern.mmrm are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is collapse better than tern.mmrm?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. collapse and tern.mmrm are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). For your specific use case, the alternatives sections above list other Analytics products to evaluate alongside.

What are the best alternatives to collapse?

Top collapse alternatives in Analytics are ranked by recent ship velocity. Browse the "collapse alternatives" section above for the current picks, or visit /alternatives/collapse-r 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.