← Back to home
Comparison · Analytics

gsDesign2 vs sparsevctrs

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

gsDesign2 vs sparsevctrs: at a glance

FeaturegsDesign2sparsevctrs
SectorAnalyticsAnalytics
Velocity score3.80.0
Sparks · 30d10
Top themesclinical-trials, group-sequential, biostatistics, pharmaversesparse-data, tidymodels, altrep, numerical-computing
Last editorial update2h ago50m ago
WebsiteVisit →Visit →

What is gsDesign2?

Group sequential design tooling that now monitors for harm, not just efficacy and futility.

gsDesign2 is the Merck-authored R package for group sequential clinical trial design under non-proportional hazards, and it has spent the last two years filling in the statistical surface its predecessor gsDesign established. Recent releases added conditional power (gs_cp, gs_cp_npe), sequential p-values, risk-difference designs with minimal risk weighting, and boundary updates from blinded interim estimates. Version 1.2.0 adds harm boundaries across the AHR and NPE design and power functions, wired through every summary and table export path.

Read the full gsDesign2 trajectory →

What is sparsevctrs?

Sparse vectors stopped being a storage trick and became something you can do arithmetic on

sparsevctrs supplies sparse vectors that live inside ordinary data frames and tibbles, which is what lets tidymodels carry wide, mostly-zero feature matrices without densifying them. Through 0.2.0 and 0.3.0 the package built out a computation layer on top of that storage — first summary statistics, then scalar and element-wise arithmetic — and everything since has been correctness work at the C level.

Read the full sparsevctrs trajectory →

gsDesign2 vs sparsevctrs: editorial side-by-side

G
gsDesign2
ANALYTICS
3.8

Group sequential design tooling that now monitors for harm, not just efficacy and futility.

◆ Current state

gsDesign2 is the Merck-authored R package for group sequential clinical trial design under non-proportional hazards, and it has spent the last two years filling in the statistical surface its predecessor gsDesign established. Recent releases added conditional power (gs_cp, gs_cp_npe), sequential p-values, risk-difference designs with minimal risk weighting, and boundary updates from blinded interim estimates. Version 1.2.0 adds harm boundaries across the AHR and NPE design and power functions, wired through every summary and table export path.

◆ Where it's heading

The package is converging on parity with gsDesign while extending past it — each release either closes a gap against the older package or adds a boundary type gsDesign never had. A visible second track is output plumbing: every new statistical feature now arrives already threaded through summary(), gs_bound_summary(), as_gt(), and as_rtf(), which is what regulatory submission work actually consumes. Performance work is steady but secondary, with gs_design_ahr() roughly 2x faster in 1.1.9.

◆ Prediction

Expect the harm boundary work to propagate into the WLR and risk-difference design families, which are the two design branches 1.2.0 left untouched, along with a vignette bridging harm boundaries to the remaining gsDesign test types.

S
sparsevctrs
ANALYTICS
0.0

Sparse vectors stopped being a storage trick and became something you can do arithmetic on

◆ Current state

sparsevctrs supplies sparse vectors that live inside ordinary data frames and tibbles, which is what lets tidymodels carry wide, mostly-zero feature matrices without densifying them. Through 0.2.0 and 0.3.0 the package built out a computation layer on top of that storage — first summary statistics, then scalar and element-wise arithmetic — and everything since has been correctness work at the C level.

◆ Where it's heading

The release pattern splits cleanly at 0.3.0. Before it, new functions arrive in batches; after it, five consecutive releases are bug fixes, and the bugs are the kind that come with hand-written sparse kernels: a stack imbalance when sparse_multiplication() returns all zeros, undefined behaviour in multiplication, type errors in sparse_is_na(), coercion failures on NA input. That is the expected cost of an ALTREP-backed numerical layer, and the fixes are landing steadily.

◆ Prediction

With the arithmetic surface in place and the recent releases all narrow fixes, the next one is more likely another correctness patch than a new function family. The R devel fix in 0.3.5 suggests upcoming R releases are the current source of breakage.

Alternatives to gsDesign2 and sparsevctrs

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 gsDesign2 or sparsevctrs.

See all gsDesign2 alternatives → · See all sparsevctrs alternatives →

Recent activity from gsDesign2 and sparsevctrs

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

  1. 8d agogsDesign2Harm boundaries land in AHR and NPE group sequential designs
  2. 1mo agogsDesign2Conditional power, sequential p-values, and minimal risk weighting
  3. 5mo agogsDesign2gs_design_ahr() can output spending time
  4. 8mo agosparsevctrsSparse character vector fix for R devel
  5. 8mo agogsDesign2S3 class refactor and futility boundary vignette
  6. 11mo agogsDesign2h1_spending for WLR power, info_scale across fixed designs
  7. 1y agogsDesign2WLR design spending default corrected to information fraction
  8. 1y agosparsevctrsStack imbalance in sparse multiplication fixed
  9. 1y agosparsevctrsSparse matrix coercion no longer errors on NA input
  10. 1y agosparsevctrssparsity() fixed for classed numeric vectors
  11. 1y agosparsevctrsUndefined behaviour in sparse multiplication fixed
  12. 1y agosparsevctrsScalar and element-wise arithmetic for sparse vectors

Frequently asked questions

What is the difference between gsDesign2 and sparsevctrs?

They serve adjacent needs but don't currently overlap on shipped themes. gsDesign2 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 gsDesign2 better than sparsevctrs?

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

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

What are the best alternatives to sparsevctrs?

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