CRAN/E | vcr

vcr

Record 'HTTP' Calls to Disk

Installation

About

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.

github.com/ropensci/vcr/ (devel) https://books.ropensci.org/http-testing/ (user manual)
github.com/ropensci/vcr/ (devel) https://books.ropensci.org/http-testing/ (user manual)
Bug report File report

Key Metrics

Version 1.2.2
Published 2023-06-25 305 days ago
Needs compilation? no
License MIT
License File
CRAN checks vcr results
Language en-US

Downloads

Yesterday 89 0%
Last 7 days 424 -26%
Last 30 days 2.444 -6%
Last 90 days 7.942 -38%
Last 365 days 62.341 -41%

Maintainer

Maintainer

Scott Chamberlain

sckott@protonmail.com

Authors

Scott Chamberlain

aut / cre

Aaron Wolen

aut

Maëlle Salmon

aut

Daniel Possenriede

aut

rOpenSci

fnd

(https://ropensci.org)

Material

NEWS
Reference manual
Package source

In Views

WebTechnologies

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

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

vcr archive

Imports

crul ≥ 0.8.4
httr
webmockr ≥ 0.8.0
urltools
yaml
R6
base64enc
rprojroot

Suggests

roxygen2 ≥ 7.2.1
jsonlite
testthat
knitr
rmarkdown
desc
crayon
cli
curl
withr

Reverse Suggests

allcontributors
archiveRetriever
bold
chirps
circle
citecorp
dbhydroR
deepdep
EDIutils
finbif
gfonts
giedata
GNRS
hlidacr
intensegRid
ipumsr
magmaR
nasapower
natserv
norgeo
osfr
pangaear
PSAWR
qualtRics
rATTAINS
rb3
rcites
rcrossref
rdatacite
rdryad
rgbif
riem
ritis
rmangal
rnoaa
rnpn
robotoolbox
rorcid
rredlist
rsnps
rtoot
RTTWebClient
Rtumblr
rtweet
rvertnet
Rwtss
spocc
taxize
tidytags
TNRS
Load all 58 items
(warning: might lead to performance issues and take some time)