← Back to home
Comparison · Analytics

charlatan vs vcr

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

Shared themes:ropenscitesting

charlatan vs vcr: at a glance

Featurecharlatanvcr
SectorAnalyticsAnalytics
Velocity score0.00.0
Sparks · 30d00
Top themesfake-data, r-package, ropensci, localestesting, http-mocking, breaking-change, api-cleanup
Last editorial update2h ago1h ago
WebsiteVisit →Visit →

What is charlatan?

R's fake-data generator rebuilt its provider hierarchy so contributors can add one locale without touching the rest.

charlatan generates realistic fake data — names, addresses, phone numbers, jobs, internet artefacts — across many locales, following the same model as faker in Python and Perl. The 0.6.1 release reworked the provider class hierarchy so locale-specific providers inherit from a parent, and 0.6.2 since has been a documentation rebuild that happened to surface a duplicate Norwegian phone number pattern. Activity is sparse and bursty.

Read the full charlatan trajectory →

What is vcr?

Added the HTTP client everyone moved to, then deleted a decade of its own public surface.

vcr records HTTP interactions to disk so R package tests can replay them without network access. Two releases define its current state. Version 1.6.0 added httr2 support alongside the existing httr and crul backends, following the R ecosystem's migration to httr2. Version 2.0 then removed a large amount of accumulated public surface — the logging functions, vcr_last_error(), the exported R6 classes including RequestHandler, Request, VcrResponse and HTTPInteractionList, and several configuration options that had stopped working or could not be implemented correctly.

Read the full vcr trajectory →

charlatan vs vcr: editorial side-by-side

C
charlatan
ANALYTICS
0.0

R's fake-data generator rebuilt its provider hierarchy so contributors can add one locale without touching the rest.

◆ Current state

charlatan generates realistic fake data — names, addresses, phone numbers, jobs, internet artefacts — across many locales, following the same model as faker in Python and Perl. The 0.6.1 release reworked the provider class hierarchy so locale-specific providers inherit from a parent, and 0.6.2 since has been a documentation rebuild that happened to surface a duplicate Norwegian phone number pattern. Activity is sparse and bursty.

◆ Where it's heading

The package's value scales with locale coverage, and its releases track that: early versions added data-type providers, middle versions added locales one contributor at a time, and 0.6.1 attacked the bottleneck by restructuring the class hierarchy so a locale can override a single function. Development has effectively been handed to contributors, with maintainer releases reduced to docs rebuilds and CRAN compliance.

◆ Prediction

Expect the next substantive release to be an accumulation of contributed locales and providers arriving through the new parent-provider structure, rather than maintainer-driven feature work.

V
vcr
ANALYTICS
0.0

Added the HTTP client everyone moved to, then deleted a decade of its own public surface.

◆ Current state

vcr records HTTP interactions to disk so R package tests can replay them without network access. Two releases define its current state. Version 1.6.0 added httr2 support alongside the existing httr and crul backends, following the R ecosystem's migration to httr2. Version 2.0 then removed a large amount of accumulated public surface — the logging functions, vcr_last_error(), the exported R6 classes including RequestHandler, Request, VcrResponse and HTTPInteractionList, and several configuration options that had stopped working or could not be implemented correctly.

◆ Where it's heading

The package is consolidating after years of additive growth. The 2.0 removals are almost all things that were exported without needing to be, or options that promised behaviour the implementation could not guarantee — check_cassette_names() was deprecated precisely because it cannot be made correct. Cassette maintenance is being simplified too, with re_record_interval now the single mechanism for expiring recordings.

◆ Prediction

Expect the post-2.0 releases to be about migration support and fallout from the removed API, since the breaking list is long enough that reverse dependencies will surface problems. Async support for httr2 stays blocked until req_perform_parallel gains a mocking hook, which the entries note is upstream work.

Alternatives to charlatan and vcr

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 charlatan or vcr.

See all charlatan alternatives → · See all vcr alternatives →

Recent activity from charlatan and vcr

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

  1. 7mo agocharlatanDocs rebuild surfaces a duplicate Norwegian phone pattern
  2. 8mo agovcr2.0 removes the logging API and the exported R6 classes
  3. 1y agovcrMaintainer email address updated
  4. 1y agocharlatanProvider classes restructured so locales can override single functions
  5. 2y agovcrAdds httr2 support alongside httr and crul
  6. 3y agovcrDrops compilation; test setup moves back to helper files
  7. 3y agovcrFixes request matching with escaped characters
  8. 5y agovcrvcr_test_path() finds the package root correctly
  9. 6y agocharlatanNew locales and providers; allowed_locales() added
  10. 7y agocharlatanLocale naming standardised; French and Danish data corrected
  11. 8y agocharlatancharlatan v0.2.2
  12. 8y agocharlatanSix new providers broaden charlatan beyond names and addresses

Frequently asked questions

What is the difference between charlatan and vcr?

Both compete on the same themes — ropensci, testing — within Analytics. charlatan and vcr 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 charlatan better than vcr?

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

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

What are the best alternatives to vcr?

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