← Back to home
Comparison · Analytics

slider vs tern

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

slider vs tern: at a glance

Featureslidertern
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themessliding-windows, tidyverse, c-api-compliance, vctrsclinical-trials, tables, r-package, pharmaverse
Last editorial update1h ago58m ago
WebsiteVisit →Visit →

What is slider?

Feature-complete since 2021, and every release since has been paying CRAN's C API bill

slider provides sliding-window and index-aware window functions for R, with a C implementation underneath and a specialised fast path for common aggregations. The user-facing surface has been stable since 0.3.0 in late 2022. Everything after that is compliance and platform work: STRING_PTR removed in 0.3.2, OBJECT() removed in 0.3.3, a vctrs callable's C signature corrected, and the minimum R version raised twice.

Read the full slider trajectory →

What is tern?

tern is migrating its entire analysis-function catalogue off make_afun(), one release at a time.

tern builds the clinical-trial tables, listings, and graphs layer on top of rtables — occurrence counts, survival summaries, ANCOVA, incidence rates, subgroup and biomarker tabulations. The visible work across the window is a systematic refactor: dozens of analysis functions rewritten to drop make_afun() and adopt a common analysis-function style driven by rtables' additional_fun_params. Feature additions ride along with it.

Read the full tern trajectory →

slider vs tern: editorial side-by-side

S
slider
ANALYTICS
0.0

Feature-complete since 2021, and every release since has been paying CRAN's C API bill

◆ Current state

slider provides sliding-window and index-aware window functions for R, with a C implementation underneath and a specialised fast path for common aggregations. The user-facing surface has been stable since 0.3.0 in late 2022. Everything after that is compliance and platform work: STRING_PTR removed in 0.3.2, OBJECT() removed in 0.3.3, a vctrs callable's C signature corrected, and the minimum R version raised twice.

◆ Where it's heading

Two forces set the release schedule, and neither is feature demand. The first is CRAN closing off non-API C entry points, which packages reaching into R internals for speed have to unwind one accessor at a time — slider is on its second such release with no visible loss of function. The second is vctrs, whose breaking changes slider absorbs ahead of time; 0.2.2 exists solely to prepare for one. The last release that added anything callers can see was 0.3.0's slider_plus() and slider_minus() extension hooks.

◆ Prediction

Expect the pattern to continue: another non-API accessor removal or a vctrs compatibility release, rather than new window functions. The C-level surface is the only part of this package still moving.

T
tern
ANALYTICS
0.0

tern is migrating its entire analysis-function catalogue off make_afun(), one release at a time.

◆ Current state

tern builds the clinical-trial tables, listings, and graphs layer on top of rtables — occurrence counts, survival summaries, ANCOVA, incidence rates, subgroup and biomarker tabulations. The visible work across the window is a systematic refactor: dozens of analysis functions rewritten to drop make_afun() and adopt a common analysis-function style driven by rtables' additional_fun_params. Feature additions ride along with it.

◆ Where it's heading

This is a multi-release architectural migration, not incremental polish. Each release converts another batch of functions, and the count is large — roughly two dozen in the most recent entry alone, after a comparable batch the release before. Alongside it, the denom parameter is being threaded through counting functions and g_lineplot is accumulating layout control, both patterns of standardising arguments that previously varied per function.

◆ Prediction

The refactor should continue until the make_afun() dependency is gone entirely, with the remaining tabulate_* and biomarker functions the likely next batch; the entries give no date for completion.

Alternatives to slider and tern

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 slider or tern.

See all slider alternatives → · See all tern alternatives →

Recent activity from slider and tern

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

  1. 9mo agosliderNon-API OBJECT() removed and a vctrs C signature fixed
  2. 1y agoternTwo dozen more analysis functions drop make_afun()
  3. 1y agoterndenom threading, custom statistics, and compare_vars merged in
  4. 1y agosliderNon-API STRING_PTR removed; R 4.0.0 now required
  5. 1y agoternRisk-difference columns for subgroup tables
  6. 2y agoterng_lineplot gains faceting and axis controls
  7. 2y agosliderValgrind test fixes and dependency version bumps
  8. 3y agosliderExtension hooks let clock and almanac types serve as an index
  9. 5y agosliderInternal vec_order usage updated ahead of a vctrs break
  10. 5y agosliderlong double alignment issue fixed for CRAN sanitisers

Frequently asked questions

What is the difference between slider and tern?

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

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

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

What are the best alternatives to tern?

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