← Back to home
Comparison · Analytics

collapse vs epiworldR

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

Shared themes:r-package

collapse vs epiworldR: at a glance

FeaturecollapseepiworldR
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesdata-transformation, performance, simd, grouped-statisticsr-package, epidemiology, agent-based-simulation, cran
Last editorial update3h 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 epiworldR?

epiworldR is a thin R shell whose releases track the C++ simulator underneath it

Almost every release here is a version bump of the underlying epiworld C++ library, wrapped and pushed to CRAN. The substantive R-side work is narrow and consistent: exposing simulation outputs that were already computed but not reachable from R — outbreak size, active cases, hospitalizations and their savers. The newest release addresses an AddressSanitizer finding, which is the kind of thing CRAN checks surface on a compiled package.

Read the full epiworldR trajectory →

collapse vs epiworldR: 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.

E
epiworldR
ANALYTICS
0.0

epiworldR is a thin R shell whose releases track the C++ simulator underneath it

◆ Current state

Almost every release here is a version bump of the underlying epiworld C++ library, wrapped and pushed to CRAN. The substantive R-side work is narrow and consistent: exposing simulation outputs that were already computed but not reachable from R — outbreak size, active cases, hospitalizations and their savers. The newest release addresses an AddressSanitizer finding, which is the kind of thing CRAN checks surface on a compiled package.

◆ Where it's heading

The R package's job is staying current with the simulator and satisfying CRAN, not evolving its own interface. What direction it has shows in which model outputs get exposed next, and in a steady tidy-up of the build — the custom configure script was dropped in favour of R's built-in C++17 and OpenMP settings, and test coverage has been filled in across several releases with automated assistance.

◆ Prediction

Expect the next release to track another epiworld version bump, with any R-side addition most likely being one more exposed metric or saver, following the pattern of get_hospitalizations and get_outbreak_size.

Alternatives to collapse and epiworldR

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 epiworldR.

See all collapse alternatives → · See all epiworldR alternatives →

Recent activity from collapse and epiworldR

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

  1. 2mo agocollapseSIMD accumulators give fmean a 7x speedup without OpenMP
  2. 4mo agoepiworldR0.14.0 addresses an AddressSanitizer finding
  3. 5mo agoepiworldRWrapper bumped to track a new epiworld version
  4. 5mo agoepiworldRBuild drops the custom configure script for R's C++17 and OpenMP settings
  5. 6mo agoepiworldRepiworld bumped to 0.11.2
  6. 7mo agoepiworldRTests updated at CRAN's request
  7. 7mo agoepiworldRHospitalizations, outbreak size and active cases exposed to R
  8. 7mo agocollapseNegative zero now hashes equal to zero across the package
  9. 8mo agocollapsecollap() no longer double-aggregates external weights
  10. 9mo agocollapseCustom unlist() preserves attributes
  11. 0y agocollapseAssorted bug fixes
  12. 1y agocollapsena_insert gains by-reference mode; gsplit and pivot speed up

Frequently asked questions

What is the difference between collapse and epiworldR?

Both compete on the same themes — r-package — within Analytics. collapse and epiworldR 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 epiworldR?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. collapse and epiworldR 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 epiworldR?

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