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>)
MaintainerScott Chamberlain <[email protected]>
LicenseMIT + file LICENSE
Version0.2.6
URL https://github.com/ropensci/vcr/ (devel) https://ropensci.github.io/http-testing-book/ (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 Feb. 12, 2019, 5:07 p.m.