Package: vcr 1.6.0.91
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.
Authors:
vcr_1.6.0.91.tar.gz
vcr_1.6.0.91.zip(r-4.5)vcr_1.6.0.91.zip(r-4.4)vcr_1.6.0.91.zip(r-4.3)
vcr_1.6.0.91.tgz(r-4.4-any)vcr_1.6.0.91.tgz(r-4.3-any)
vcr_1.6.0.91.tar.gz(r-4.5-noble)vcr_1.6.0.91.tar.gz(r-4.4-noble)
vcr_1.6.0.91.tgz(r-4.4-emscripten)vcr_1.6.0.91.tgz(r-4.3-emscripten)
vcr.pdf |vcr.html✨
vcr/json (API)
NEWS
# Install 'vcr' in R: |
install.packages('vcr', repos = c('https://ropensci.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/ropensci/vcr/issues
Pkgdown:https://docs.ropensci.org
- crul_request - An HTTP request as prepared by the 'crul' package
httphttpsapiweb-servicescurlmockmockinghttp-mockingtestingtesting-toolstddunit-testingvcr
Last updated 4 months agofrom:471d0642f6 (on main). Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 24 2024 |
R-4.5-win | OK | Nov 24 2024 |
R-4.5-linux | OK | Nov 24 2024 |
R-4.4-win | OK | Nov 24 2024 |
R-4.4-mac | OK | Nov 24 2024 |
R-4.3-win | OK | Nov 24 2024 |
R-4.3-mac | OK | Nov 24 2024 |
Exports:as.cassetteas.cassettepathCassettecassette_pathcassettescheck_cassette_namescurrent_cassetteeject_cassettehttp_interactionsHTTPInteractionHTTPInteractionListinsert_cassettePersistersreal_http_connections_allowedRequestrequest_summaryRequestHandlerRequestHandlerCrulRequestHandlerHttrRequestHandlerHttr2RequestMatcherRegistryresponse_summaryserializer_fetchSerializersskip_if_vcr_offturn_offturn_onturned_offturned_onUnhandledHTTPRequestErroruse_cassetteuse_vcrvcr_config_defaultsvcr_configurationvcr_configurevcr_configure_resetvcr_last_errorvcr_log_filevcr_log_infovcr_test_pathVcrResponse
Dependencies:askpassbase64encclicrulcurlfauxpasgluehttpcodehttrhttr2jsonlitelifecyclemagrittrmimeopensslR6rappdirsRcpprlangrprojrootsystriebeardurltoolsvctrswebmockrwhiskerwithryaml
Introduction to vcr
Rendered fromvcr.Rmd
usingknitr::rmarkdown
on Nov 24 2024.Last update: 2024-07-19
Started: 2019-06-13
Configure vcr
Rendered fromconfiguration.Rmd
usingknitr::rmarkdown
on Nov 24 2024.Last update: 2020-12-04
Started: 2016-04-12
Configure vcr request matching
Rendered fromrequest_matching.Rmd
usingknitr::rmarkdown
on Nov 24 2024.Last update: 2020-12-04
Started: 2018-04-04
Debugging your tests that use vcr
Rendered fromdebugging.Rmd
usingknitr::rmarkdown
on Nov 24 2024.Last update: 2020-12-04
Started: 2020-11-25
Why and how to edit your vcr cassettes?
Rendered fromcassette-manual-editing.Rmd
usingknitr::rmarkdown
on Nov 24 2024.Last update: 2020-12-04
Started: 2020-11-25
Design of vcr
Rendered fromdesign.Rmd
usingknitr::rmarkdown
on Nov 24 2024.Last update: 2021-05-04
Started: 2021-05-04
How vcr works, in a lot of details
Rendered frominternals.Rmd
usingknitr::rmarkdown
on Nov 24 2024.Last update: 2020-12-04
Started: 2020-11-24
Turning vcr on and off
Rendered fromlightswitch.Rmd
usingknitr::rmarkdown
on Nov 24 2024.Last update: 2020-12-15
Started: 2020-12-15
Record modes
Rendered fromrecord-modes.Rmd
usingknitr::rmarkdown
on Nov 24 2024.Last update: 2020-12-15
Started: 2020-12-15
Mocking writing to disk
Rendered fromwrite-to-disk.Rmd
usingknitr::rmarkdown
on Nov 24 2024.Last update: 2020-12-15
Started: 2020-12-15