vcr: Record 'HTTP' Calls to Disk

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.

Version: 2.0.0
Depends: R (≥ 4.1)
Imports: cli, curl (≥ 6.3.0), jsonlite, lifecycle, R6, rlang (≥ 1.1.0), rprojroot, waldo, yaml
Suggests: crul (≥ 1.6.0), desc, httr, httr2 (≥ 1.1.2), knitr, qs2, rmarkdown, roxygen2 (≥ 7.2.1), testthat (≥ 3.0.0), webfakes, withr
Published: 2025-07-23
Author: Scott Chamberlain ORCID iD [aut, cre], Aaron Wolen ORCID iD [aut], Maëlle Salmon ORCID iD [aut], Daniel Possenriede ORCID iD [aut], Hadley Wickham [aut], rOpenSci ROR ID [fnd]
Maintainer: Scott Chamberlain <myrmecocystus at gmail.com>
BugReports: https://github.com/ropensci/vcr/issues
License: MIT + file LICENSE
URL: https://github.com/ropensci/vcr/, https://books.ropensci.org/http-testing/, https://docs.ropensci.org/vcr/
NeedsCompilation: no
Language: en-US
Materials: NEWS
In views: WebTechnologies
CRAN checks: vcr results

Documentation:

Reference manual: vcr.html , vcr.pdf
Vignettes: Debugging vcr failures (source, R code)
Design of vcr (source, R code)
cassette (source, R code)
Protecting secrets (source, R code)
Getting started with vcr (source, R code)

Downloads:

Package source: vcr_2.0.0.tar.gz
Windows binaries: r-devel: vcr_1.7.0.zip, r-release: vcr_1.7.0.zip, r-oldrel: vcr_1.7.0.zip
macOS binaries: r-release (arm64): vcr_1.7.0.tgz, r-oldrel (arm64): vcr_1.7.0.tgz, r-release (x86_64): vcr_1.7.0.tgz, r-oldrel (x86_64): vcr_1.7.0.tgz
Old sources: vcr archive

Reverse dependencies:

Reverse suggests: air, archiveRetriever, chirps, circle, citecorp, dawaR, dbhydroR, deepdep, EDIutils, finbif, gfonts, gie, GNRS, GVS, hlidacr, intensegRid, ipumsr, magmaR, nasapower, natserv, nettskjemar, nisrarr, NSR, OpenRange, osfr, pangaear, PowerSDI, PSAWR, qualtRics, rATTAINS, rb3, rcites, rcrossref, rdatacite, rdryad, rgbif, ritis, rnpn, robotoolbox, rorcid, rredlist, rtoot, RTTWebClient, Rtumblr, rvertnet, Rwtss, sixtyfour, spocc, taxize, TNRS, trackdown, tradestatistics, tremendousr, votesmart, weatherOz, webchem, wikitaxa, worrms

Linking:

Please use the canonical form https://CRAN.R-project.org/package=vcr to link to this page.