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 (<>). 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] (<>), Aaron Wolen [ctb] (<>), Maëlle Salmon [ctb] (<>), rOpenSci [fnd] (
MaintainerScott Chamberlain <>
LicenseMIT + file LICENSE
URL (devel) (user manual)
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the vcr package in your browser

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

vcr documentation built on June 1, 2021, 1:06 a.m.