← Back to home
Comparison · Analytics

collapse vs omock

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

collapse vs omock: at a glance

Featurecollapseomock
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesdata-transformation, performance, simd, grouped-statisticsomop-cdm, synthetic-data, test-fixtures, health-data
Last editorial update1h ago2h 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 omock?

A mock-data generator for OMOP studies that keeps widening what it can fake.

omock builds synthetic OMOP Common Data Model tables so packages in the darwin-eu and OHDSI ecosystem can be tested without touching patient data. The 0.7.0 release adds concept set subsetting with its own vignette, unit and value support in mockMeasurement, observation date validation and cohort attrition initialization, while deprecating mockConcepts. Releases arrive as PR digests rather than written notes.

Read the full omock trajectory →

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

O
omock
ANALYTICS
0.0

A mock-data generator for OMOP studies that keeps widening what it can fake.

◆ Current state

omock builds synthetic OMOP Common Data Model tables so packages in the darwin-eu and OHDSI ecosystem can be tested without touching patient data. The 0.7.0 release adds concept set subsetting with its own vignette, unit and value support in mockMeasurement, observation date validation and cohort attrition initialization, while deprecating mockConcepts. Releases arrive as PR digests rather than written notes.

◆ Where it's heading

The package has been moving from generating tables to shipping and managing reference datasets — mockDatasets arrived in 0.4.0, mockCdmFromDataset gained a source argument in 0.5.0, and 0.6.1 added download retry handling plus an internal GiBleed dataset after the hosted files moved. The recent work is filling in CDM fidelity: type concepts, measurement units, attrition, and guards for degenerate cases like an empty person table.

◆ Prediction

Expect coverage to keep extending table by table toward the parts of the CDM that omock still cannot mock, with mockConcepts removed outright once the concept set subsetting path settles.

Alternatives to collapse and omock

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

See all collapse alternatives → · See all omock alternatives →

Recent activity from collapse and omock

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

  1. 1mo agoomockConcept set subsetting and richer measurement mocks
  2. 2mo agocollapseSIMD accumulators give fmean a 7x speedup without OpenMP
  3. 4mo agoomockDelphi dataset added and CDM version bumped
  4. 6mo agoomockDataset downloads survive the storage move
  5. 7mo agocollapseNegative zero now hashes equal to zero across the package
  6. 8mo agocollapsecollap() no longer double-aggregates external weights
  7. 9mo agocollapseCustom unlist() preserves attributes
  8. 11mo agoomockJOSS submission tag alongside the 0.5.0 release
  9. 11mo agoomockmockCdmFromDataset gains a source argument
  10. 0y agocollapseAssorted bug fixes
  11. 1y agoomockmockDatasets introduces bundled reference data
  12. 1y agocollapsena_insert gains by-reference mode; gsplit and pivot speed up

Frequently asked questions

What is the difference between collapse and omock?

They serve adjacent needs but don't currently overlap on shipped themes. collapse and omock 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 omock?

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

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