if (FALSE) {
vcr_configure(dir = tempfile())
insert_cassette("foobar")
cassettes(on_disk = FALSE)
cassettes(on_disk = TRUE)
as.cassette("foobar", on_disk = FALSE)
eject_cassette() # eject the current cassette
# cleanup
unlink(file.path(tempfile(), "foobar.yml"))
}
Run the code above in your browser using DataLab