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.6.0 |
Imports: | crul (≥ 0.8.4), httr, httr2, webmockr (≥ 0.8.0), urltools, yaml, R6, base64enc, rprojroot |
Suggests: | roxygen2 (≥ 7.2.1), jsonlite, testthat, knitr, rmarkdown, desc, crayon, cli, curl, withr, webfakes |
Published: | 2024-07-23 |
DOI: | 10.32614/CRAN.package.vcr |
Author: | Scott Chamberlain |
Maintainer: | Scott Chamberlain <sckott at protonmail.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 |
Package source: | vcr_1.6.0.tar.gz |
Windows binaries: | r-devel: vcr_1.6.0.zip, r-release: vcr_1.6.0.zip, r-oldrel: vcr_1.6.0.zip |
macOS binaries: | r-release (arm64): vcr_1.6.0.tgz, r-oldrel (arm64): vcr_1.2.2.tgz, r-release (x86_64): vcr_1.6.0.tgz, r-oldrel (x86_64): vcr_1.2.2.tgz |
Old sources: | vcr archive |
Reverse suggests: | air, archiveRetriever, chirps, circle, citecorp, dbhydroR, deepdep, EDIutils, finbif, gfonts, gie, GNRS, hlidacr, intensegRid, ipumsr, magmaR, nasapower, natserv, osfr, pangaear, PowerSDI, PSAWR, qualtRics, rATTAINS, rcites, rcrossref, rdatacite, rdryad, rgbif, ritis, rnpn, robotoolbox, rorcid, rredlist, rtoot, RTTWebClient, Rtumblr, rtweet, rvertnet, Rwtss, spocc, taxize, TNRS, trackdown, tradestatistics, tremendousr, votesmart, weatherOz, webchem, webmockr, wikitaxa, worrms |
Please use the canonical form https://CRAN.R-project.org/package=vcr to link to this page.