Skip to content

Record 'HTTP' Calls to Disk

0packages dependsuggested by 90
74.7Kdownloads / year
88.0%test coverage
13/13flavors OK

Overview

About

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.

Changes in 2.1.0
  • Fix a few breaking tests on CRAN

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.4 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-05-02
  • ERROR11 OK, 1 ERROR2026-04-25
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2.1.0
README· In the repository, left out of the releaseVignettesYes · 5 · dynamicNEWSYes · 33% structured · mentions 2.1.0Citation fileNoWebsiteYes
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%

Downloads

74.7K
CRAN downloads in the past year
Rank #1,722 · ~205/day · ~6.2K/mo
Daily download trend is not available in this view yet.
3.7K30 days
12.2K90 days
74.7K1 year
Compare downloads with other packages →
Also on1.1K r2u12 autocran994 conda_forge157 c2d4u

Repository

96Stars
14Forks
31Open issues
4Open PRs
16Releases
1,063Commits
17Commit identities
unit-testingtestingmockingrstatsvcrrr-package
1,063 commits · Last activity 2026-08-18 · 0% stars, 30d · Default branch at 2.1.1.91, ahead of CRAN 2.1.0 (checked 2026-10-11)
Responsiveness
How these are sampled
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

2025-07-29 · 932026-07-07 · 96
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (4)
Code of conduct (inherited from ropensci)Contributing guideIssue templatesPR template
Docs source (3)
README.Rmdpkgdown

GitHub Pages site last deployed 2019-12-05

Reproducibility and dev environment (1)
Makefile
Show all practicesHide 3 practices
CRAN release process (2)
cran-comments.mdrevdep/
Research and citation (1)
codemeta.json
Lint, format, editor (3)
AirVS CodeRStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2025-04-11
    Seen in the repository: .claude
    Named in .Rbuildignore: .claude, CLAUDE.md
    Named in .gitignore: .claude, CLAUDE.md
How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
20 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 4.1
LinkingTo (0)
none
Enhances (0)
none

People & History

People (6)
Author, Maintainer since 0.1.0 (2018)
Author · added in 1.2.0
Author · added in 0.6.0
Author · added in 2.0.0
Author · added in 0.5.0
Funder · added in 0.6.0
Releases (18)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 2.1.0Latest
    record
    2025-12-05 · current release · diff ↗
  • 2.0.0
    record
    2025-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_info
    added 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
  • R
    R 4.5.0 released · 2025-04-11
  • 1.7.0
    record
    2025-03-10 · diff ↗
  • 1.6.0
    record
    2024-07-23 · diff ↗ ·
    added 1 export
    RequestHandlerHttr2
  • R
    R 4.4.0 released · 2024-04-24
  • 1.2.2
    record
    2023-06-25 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.2.0
    record
    2022-11-17 · diff ↗
  • 1.1.0
    record
    2022-11-04 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.2
    record
    2021-05-31 · diff ↗
  • 1.0.0
    record
    2021-05-22 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.6.0
    record
    2020-12-12 · diff ↗ ·
    added 2 exports
    skip_if_vcr_off, vcr_test_path
Show 11 earlier eventsHide 11 earlier events
  • R
    R 4.0.0 released · 2020-04-24
  • 0.5.4
    record
    2020-03-31 · diff ↗ ·
    added 1 export
    vcr_last_error
  • 0.5.0
    record
    2020-03-04 · diff ↗ ·
    added 1 export
    check_cassette_names
  • 0.4.0
    record
    2019-12-07 · diff ↗
  • 0.3.0
    record
    2019-08-20 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.2.6
    record
    2019-02-12 · diff ↗ ·
    added 1 export
    use_vcr
  • 0.2.2
    record
    2019-01-13 · diff ↗
  • 0.2.0
    record
    2018-10-19 · diff ↗ ·
    added 1 export
    RequestHandlerHttr
  • 0.1.0
    record
    2018-05-14
  • R
    R 3.5.0 released · 2018-04-23

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")
Chamberlain, S., rOpenSci, Possenriede, D., Salmon, M., Wickham, H., & Wolen, A. (2025). vcr: Record 'HTTP' Calls to Disk (Version 2.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for vcr version 2.1.0 [Data set]. HJJB, LLC. Data release v2026-10-19. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy