vcr_configure(dir = tempdir())
# list all cassettes
cassettes()
cassettes(on_disk = FALSE)
# list the currently active cassette
insert_cassette("stuffthings")
current_cassette()
eject_cassette()
cassettes()
cassettes(on_disk = FALSE)
# list the path to cassettes
cassette_path()
vcr_configure(dir = file.path(tempdir(), "foo"))
cassette_path()
vcr_configure_reset()
Run the code above in your browser using DataLab