View source: R/eject_cassette.R
eject_cassette | R Documentation |
Eject a cassette
eject_cassette(
cassette = NULL,
options = list(),
skip_no_unused_interactions_assertion = NULL
)
cassette |
(character) a single cassette names to eject; see |
options |
(list) a list of options to apply to the eject process |
skip_no_unused_interactions_assertion |
(logical) If |
The ejected cassette if there was one
use_cassette()
, insert_cassette()
vcr_configure(dir = tempdir())
insert_cassette("hello")
(x <- current_cassette())
# by default does current cassette
x <- eject_cassette()
x
# can also select by cassette name
# eject_cassette(cassette = "hello")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.