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 hooking into the 'webmockr' R package for matching 'HTTP' requests by various rules ('HTTP' method, 'URL', query parameters, headers, body, etc.), and then caching real 'HTTP' responses on disk in 'cassettes'. Subsequent 'HTTP' requests matching any previous requests in the same 'cassette' use a cached 'HTTP' response.

Version: 1.0.2
Imports: crul (≥ 0.8.4), httr, webmockr (≥ 0.8.0), urltools, yaml, R6, base64enc, rprojroot
LinkingTo: cpp11
Suggests: roxygen2 (≥ 7.1.1), jsonlite, testthat, knitr, rmarkdown, desc, crayon, cli, curl, withr
Published: 2021-05-31
Author: Scott Chamberlain ORCID iD [aut, cre], Aaron Wolen ORCID iD [ctb], Maƫlle Salmon ORCID iD [ctb], rOpenSci [fnd] (https://ropensci.org)
Maintainer: Scott Chamberlain <sckott at protonmail.com>
BugReports: https://github.com/ropensci/vcr/issues
License: MIT + file LICENSE
URL: https://github.com/ropensci/vcr/ (devel) https://books.ropensci.org/http-testing/ (user manual)
NeedsCompilation: yes
SystemRequirements: C++11
Language: en-US
Materials: NEWS
In views: WebTechnologies
CRAN checks: vcr results

Documentation:

Reference manual: vcr.pdf
Vignettes: 5. cassette manual editing
2. vcr configuration
4. vcr tests debugging
Design of vcr
internals
Turning vcr on and off
vcr record modes
3. request matching
1. vcr introduction
Writing to disk

Downloads:

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

Reverse dependencies:

Reverse imports: norgeo
Reverse suggests: allcontributors, archiveRetriever, bold, chirps, circle, citecorp, dbhydroR, deepdep, EDIutils, finbif, galah, gfonts, giedata, GNRS, hlidacr, intensegRid, ipumsr, jaod, magmaR, microdemic, nasapower, natserv, pangaear, qualtRics, rATTAINS, rbace, rbhl, rbison, rcites, rcoreoa, rcrossref, rdatacite, rdryad, rerddap, rgbif, riem, ritis, rmangal, rnoaa, rnpn, rorcid, rphylopic, rplos, rredlist, rstac, RTTWebClient, rtweet, rvertnet, Rwtss, spocc, taxize, tidytags, trackdown, tradestatistics, tremendousr, webchem, webmockr, wikitaxa, worrms, zbank

Linking:

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