← Back to home
Comparison · Analytics

S7 vs webmockr

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

S7 vs webmockr: at a glance

FeatureS7webmockr
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesobject-system, r-language, api-stability, backward-compatibilityhttp-mocking, testing, httr2, ropensci
Last editorial update2h ago1h ago
WebsiteVisit →Visit →

What is S7?

S7 has stopped adding surface and started proving it holds up against R itself.

S7 is R's third-generation object system, built to unify the S3 and S4 lineages rather than add a fourth. The design work landed in 0.2.0, which reworked the default constructor, extended base-class coverage, and added a backward-compatibility shim so `@` property access works on R older than 4.3. Everything since has been maintenance: property setters gained a `check` escape hatch, and two consecutive releases exist mainly to keep the package compiling against R-devel 4.6.

Read the full S7 trajectory →

What is webmockr?

The stubbing library added httr2 support, then spent a year cutting itself free of everything else

webmockr intercepts HTTP requests in R tests and returns stubbed responses, and since 1.0.0 it covers all three clients that matter — httr, httr2 and crul. The releases through 2025 have been about shedding dependencies: internal R6 classes unexported in 2.1.0, crul demoted from Imports to Suggests in the same release, and the mutual dependency with vcr severed in 2.2.0. The package now installs and runs without pulling in the rest of the rOpenSci HTTP stack.

Read the full webmockr trajectory →

S7 vs webmockr: editorial side-by-side

S
S7
ANALYTICS
0.0

S7 has stopped adding surface and started proving it holds up against R itself.

◆ Current state

S7 is R's third-generation object system, built to unify the S3 and S4 lineages rather than add a fourth. The design work landed in 0.2.0, which reworked the default constructor, extended base-class coverage, and added a backward-compatibility shim so `@` property access works on R older than 4.3. Everything since has been maintenance: property setters gained a `check` escape hatch, and two consecutive releases exist mainly to keep the package compiling against R-devel 4.6.

◆ Where it's heading

The changelog is thinning by design — 0.1.0 was a months-long feature dump, 0.2.0 a coordinated architectural revision, 0.2.2 a single line about internal R-devel support. That shape usually means an API the maintainers consider settled, where the remaining work is tracking the host language rather than extending the system. The one recurring theme is validation cost: repeated releases have made validation less frequent, more targeted, or skippable outright.

◆ Prediction

Expect continued small releases pinned to R-devel changes rather than new class-system features, with any further movement most likely in the validation and property-setter path that the last two feature changes both touched.

W
webmockr
ANALYTICS
0.0

The stubbing library added httr2 support, then spent a year cutting itself free of everything else

◆ Current state

webmockr intercepts HTTP requests in R tests and returns stubbed responses, and since 1.0.0 it covers all three clients that matter — httr, httr2 and crul. The releases through 2025 have been about shedding dependencies: internal R6 classes unexported in 2.1.0, crul demoted from Imports to Suggests in the same release, and the mutual dependency with vcr severed in 2.2.0. The package now installs and runs without pulling in the rest of the rOpenSci HTTP stack.

◆ Where it's heading

Two arcs run in sequence. The first is coverage — multiple queued responses in 0.7.0, basic auth mocking, async through crul, then httr2 — building out what can be stubbed. The second, starting with 2.0.0, is correctness and independence: stubs are now deleted if an error occurs mid-construction rather than lingering half-built, partial matching arrives for bodies and queries, and the dependency graph is pruned release by release. The 2.2.0 split from vcr landed within a minute of crul's release taking mocking control into its own clients.

◆ Prediction

RequestPattern is documented as still exported in 2.1.0 but slated for removal, so the next major release is where that lands. Expect continued dependency pruning rather than new client support — the three clients that exist are already covered.

Alternatives to S7 and webmockr

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 S7 or webmockr.

See all S7 alternatives → · See all webmockr alternatives →

Recent activity from S7 and webmockr

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

  1. 3mo agoS7Internal fixes for R-devel 4.6 compatibility
  2. 9mo agoS7Property setters gain an opt-out from validation
  3. 1y agowebmockrvcr dependency severed
  4. 1y agowebmockrInternal classes unexported; crul becomes an optional dependency
  5. 1y agowebmockrFailed stub construction cleans up; partial matching extends to bodies and queries
  6. 1y agoS7Constructor rework and pre-4.3 support for @ access
  7. 2y agowebmockrhttr2 joins httr and crul as a supported client
  8. 2y agoS7Per-property validators and better S3 method registration
  9. 2y agoS7First release: unions, set_props, and S4 virtual dispatch
  10. 3y agowebmockrQueued responses, body matching and integer status codes fixed
  11. 3y agowebmockrRegex URI matching fixed

Frequently asked questions

What is the difference between S7 and webmockr?

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

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

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

What are the best alternatives to webmockr?

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