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.

Package details

AuthorScott Chamberlain [aut, cre] (<https://orcid.org/0000-0003-1444-9135>), Aaron Wolen [aut] (<https://orcid.org/0000-0003-2542-2202>), Maëlle Salmon [aut] (<https://orcid.org/0000-0002-2815-0399>), Daniel Possenriede [aut] (<https://orcid.org/0000-0002-6738-9845>), rOpenSci [fnd] (https://ropensci.org)
MaintainerScott Chamberlain <sckott@protonmail.com>
LicenseMIT + file LICENSE
Version1.2.2
URL https://github.com/ropensci/vcr/ (devel) https://books.ropensci.org/http-testing/ (user manual)
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("vcr")

Try the vcr package in your browser

Any scripts or data that you put into this service are public.

vcr documentation built on July 9, 2023, 5:30 p.m.