vcr::use_vcr()
vcr::use_cassette()
to save HTTP interactions to disk in "cassettes" filesNow your tests can work without any internet connection!
Demo of adding vcr testing to an R package, corresponding narrative.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.