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.

Total

6,850

Last month

989

Last week

240

Average per day

33

Daily downloads

Total downloads

Description file content

Package
vcr
Title
Record 'HTTP' Calls to Disk
Description
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.
Version
0.2.6
URL
BugReports
https://github.com/ropensci/vcr/issues
License
MIT + file LICENSE
Encoding
UTF-8
LazyData
true
VignetteBuilder
knitr
Imports
crul (>= 0.7.0), httr, webmockr (>= 0.3.4), urltools, yaml, R6, lazyeval, base64enc
Suggests
jsonlite, testthat, knitr, rmarkdown, desc, crayon, cli
RoxygenNote
6.1.1
X-schema.org-applicationCategory
Web
X-schema.org-keywords
http, https, API, web-services, curl, mock, mocking, http-mocking, testing, testing-tools, tdd
X-schema.org-isPartOf
https://ropensci.org
NeedsCompilation
no
Packaged
2019-02-11 20:25:49 UTC; sckott
Author
Scott Chamberlain [aut, cre] ()
Maintainer
Scott Chamberlain
Repository
CRAN
Date/Publication
2019-02-12 10:30:08 UTC

install.packages('vcr')

0.2.6

5 months ago

https://github.com/ropensci/vcr/

Scott Chamberlain

MIT + file LICENSE

Imports

crul (>= 0.7.0), httr, webmockr (>= 0.3.4), urltools, yaml, R6, lazyeval, base64enc

Suggests

jsonlite, testthat, knitr, rmarkdown, desc, crayon, cli

Discussions