Mocking writing to disk

knitr::opts_chunk$set(
    comment = "#>",
    collapse = TRUE,
    warning = FALSE,
    message = FALSE
)

Request matching

library("vcr")

More documentation

Check out the http testing book for a lot more documentation on vcr, webmockr, and crul



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.