← Back to home
Comparison · DevOps

callr vs promises

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

Shared themes:observability

callr vs promises: at a glance

Featurecallrpromises
SectorDevOpsDevOps
Velocity score0.00.0
Sparks · 30d00
Top themessubprocess, observability, opentelemetry, r-libasync, observability, performance, shiny
Last editorial update2h ago1h ago
WebsiteVisit →Visit →

What is callr?

callr adds OpenTelemetry tracing, making R subprocess work observable across process boundaries

callr runs R code in fresh subprocesses and had been in maintenance for roughly two years — the 3.7.x releases are error-object polish, DLL handling, and Windows fixes. 3.8.0 breaks that pattern with a batch of substantive changes: pseudo-terminal support, carrier::crate() handling, configurable temp directories, honest non-zero exit statuses, and OpenTelemetry instrumentation.

Read the full callr trajectory →

What is promises?

promises drops R6 for plain environments and wires async work into OpenTelemetry

promises supplies the async primitives behind Shiny and plumber. After years of small domain and future() fixes, the last two releases changed both what a promise costs and what it can report: 1.4.0 corrected nested domain ordering and added the first OpenTelemetry integration, and 1.5.0 replaced the R6 promise class with a classed environment while stabilizing the tracing API.

Read the full promises trajectory →

callr vs promises: editorial side-by-side

C
callr
DEVOPS
0.0

callr adds OpenTelemetry tracing, making R subprocess work observable across process boundaries

◆ Current state

callr runs R code in fresh subprocesses and had been in maintenance for roughly two years — the 3.7.x releases are error-object polish, DLL handling, and Windows fixes. 3.8.0 breaks that pattern with a batch of substantive changes: pseudo-terminal support, carrier::crate() handling, configurable temp directories, honest non-zero exit statuses, and OpenTelemetry instrumentation.

◆ Where it's heading

The package is being repositioned from a convenience wrapper into infrastructure that production R workloads can be operated against. Tracing spans that propagate a W3C traceparent into the child process, plus exit codes that finally reflect failure, are both about making callr legible to systems outside R. The pty and libpath changes point the same way — toward callr hosting long-lived, externally managed sessions.

◆ Prediction

Expect the OpenTelemetry surface to spread to sibling packages in the processx/r-lib process stack, and further work on subprocess failure semantics now that non-zero exits are the default.

P
promises
DEVOPS
0.0

promises drops R6 for plain environments and wires async work into OpenTelemetry

◆ Current state

promises supplies the async primitives behind Shiny and plumber. After years of small domain and future() fixes, the last two releases changed both what a promise costs and what it can report: 1.4.0 corrected nested domain ordering and added the first OpenTelemetry integration, and 1.5.0 replaced the R6 promise class with a classed environment while stabilizing the tracing API.

◆ Where it's heading

Two things are being fixed at once. Promise domains - the mechanism that carries context across async boundaries - have been the source of nearly every bug in this window, and they are now being used deliberately as the vehicle for tracing rather than just for error handling. Meanwhile the object itself is being made cheap enough to create in volume.

◆ Prediction

Expect the OpenTelemetry surface to lose its experimental label and pick up the same span coverage Shiny would need end to end; the deprecated ospan function names should be removed in a following release.

Alternatives to callr and promises

Other DevOps 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 callr or promises.

See all callr alternatives → · See all promises alternatives →

Recent activity from callr and promises

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

  1. 2mo agocallrOpenTelemetry tracing, pty support, and honest subprocess exit codes
  2. 9mo agopromisesOpenTelemetry spans across async work; R6 dropped for environments
  3. 9mo agopromisesNested promise domains fixed; then() gains a tee argument
  4. 1y agopromisesRealigns future object creation with the future package
  5. 1y agopromisesFixes stack overflow on long promise chains
  6. 1y agopromisesFixes domains forgotten inside nested handlers
  7. 2y agocallrEnv var to skip copying the client DLL
  8. 2y agocallrRunning-time fix and fully qualified subprocess calls
  9. 3y agopromisesfuture_promise() returns early when workers are exhausted
  10. 3y agocallrErrors carry subprocess stdout and stderr again
  11. 3y agocallrExperimental add_hook() for subprocess startup
  12. 4y agocallrUncompressed transport by default; revamped error objects

Frequently asked questions

What is the difference between callr and promises?

Both compete on the same themes — observability — within DevOps. callr and promises 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 callr better than promises?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. callr and promises 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 DevOps products to evaluate alongside.

What are the best alternatives to callr?

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

What are the best alternatives to promises?

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