Record 'HTTP' Calls to Disk
Overview
Record test suite 'HTTP' requests and replays them during future runs. A port of the Ruby gem of the same name (https://github.com/vcr/vcr/). Works by recording real 'HTTP' requests/responses on disk in 'cassettes', and then replaying matching responses on subsequent requests.
- Fix a few breaking tests on CRAN
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-05-02
- ERROR11 OK, 1 ERROR2026-04-25
- OK14 OK2026-03-10
Documentation
- Help pages
- 16 (6 internal)includes a package overview page
- Examples that run
- 100%7 run in a plain check (2 of them under a condition)
- Exported functions with examples
- 50%
- Documented parameters
- 97%
- Return-value docs
- 36%
- Help pages citing references
- 0%
- Getting started with vcr HTML
- cassette HTML
- Debugging vcr failures HTML
- Design of vcr HTML
- Protecting secrets HTML
Downloads
Repository
- PRs merged (all time)
- 96%
- Median days to close, 50 most recently updated closed issues
- 48
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
16 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/ropensci/vcr on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2019-12-05
Show all practicesHide 3 practices
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2025-04-11Seen in the repository: .claudeNamed in .Rbuildignore: .claude, CLAUDE.mdNamed in .gitignore: .claude, CLAUDE.md
Dependencies
Installing vcr adds 12 packages (7 with compiled code, 4.0 MB of source tarballs). Heaviest: jsonlite 1.0 MB, rlang 766 KB, curl 714 KB.
Show the 48 most downloaded packagesHide the 48 most downloaded packages
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 2.1.0Latest
- 2.0.02025-07-23 · diff ↗ ·
removed 22 exports
HTTPInteraction, HTTPInteractionList, Persisters, Request, RequestHandler, RequestHandlerCrul, RequestHandlerHttr, RequestHandlerHttr2, RequestMatcherRegistry, Serializers, UnhandledHTTPRequestError, VcrResponse, as.cassette, as.cassettepath, http_interactions, real_http_connections_allowed, request_summary, response_summary, serializer_fetch, vcr_last_error, vcr_log_file, vcr_log_infoadded 12 exports
current_cassette_recording, current_cassette_replaying, insert_example_cassette, is_recording, is_replaying, local_cassette, local_vcr_configure, local_vcr_configure_log, setup_knitr, vcr_configure_log, vcr_last_request, vcr_last_response - RR 4.5.0 released · 2025-04-11
- 1.7.02025-03-10 · diff ↗
- 1.6.0
- RR 4.4.0 released · 2024-04-24
- 1.2.22023-06-25 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.2.02022-11-17 · diff ↗
- 1.1.02022-11-04 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.0.22021-05-31 · diff ↗
- 1.0.02021-05-22 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 0.6.0
Show 11 earlier eventsHide 11 earlier events
Package metadata
- First published
- 2018-05-14
- Total releases
- 18 / 8 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1
- Download size
- 234 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("vcr")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.