← Back to home
Comparison · Analytics

crul vs tern

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

crul vs tern: at a glance

Featurecrultern
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themeshttp-client, async, mocking, ropensciclinical-trials, tables, r-package, pharmaverse
Last editorial update1h ago58m ago
WebsiteVisit →Visit →

What is crul?

crul took mocking back from webmockr and made it a property of the client itself

crul is the R6-based HTTP client underneath much of rOpenSci's package stack, covering synchronous requests, three flavours of async, pagination and retries. Its 1.6.0 release in July 2025 changed where test mocking lives: each client — HttpClient, Async, AsyncVaried — now takes a mocking parameter at initialisation or per method, and the standalone mock() function is deprecated. Mocking used to be something webmockr switched on from outside; it is now a setting on the client.

Read the full crul 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 →

crul vs tern: editorial side-by-side

C
crul
ANALYTICS
0.0

crul took mocking back from webmockr and made it a property of the client itself

◆ Current state

crul is the R6-based HTTP client underneath much of rOpenSci's package stack, covering synchronous requests, three flavours of async, pagination and retries. Its 1.6.0 release in July 2025 changed where test mocking lives: each client — HttpClient, Async, AsyncVaried — now takes a mocking parameter at initialisation or per method, and the standalone mock() function is deprecated. Mocking used to be something webmockr switched on from outside; it is now a setting on the client.

◆ Where it's heading

The async surface has been the growth area for years — retries reached Async, AsyncVaried, AsyncQueue and HttpRequest in 1.4, AsyncQueue gained the response accessors in 1.2, and 1.5.0 wired async requests up to webmockr. The 1.6.0 change reverses that direction of dependency, and it landed within a minute of webmockr's own release severing its tie to vcr. Read together, the rOpenSci HTTP stack is being deliberately untangled so each package can be used without the others.

◆ Prediction

With mock() deprecated rather than removed, the next major release is the likely point of deletion. Expect the remaining work to follow the same decoupling theme rather than adding request features.

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

See all crul alternatives → · See all tern alternatives →

Recent activity from crul and tern

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

  1. 1y agocrulMocking becomes a client parameter, independent of webmockr
  2. 1y agoternTwo dozen more analysis functions drop make_afun()
  3. 1y agoterndenom threading, custom statistics, and compare_vars merged in
  4. 1y agoternRisk-difference columns for subgroup tables
  5. 2y agocrulAsync requests become mockable through webmockr
  6. 2y agoterng_lineplot gains faceting and axis controls
  7. 2y agocrulDocumentation fixes and test helper tweak
  8. 3y agocrulHTTP retries reach the async classes
  9. 3y agocrulClearer error for mismatched urls and disk lengths
  10. 4y agocrulAsyncQueue gains response accessors; results print as a summary

Frequently asked questions

What is the difference between crul and tern?

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

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

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