test_that("we can purge packages from the cache", {
renv_tests_scope("breakfast")
init()
expect_true("breakfast" %in% basename(renv_cache_list()))
purge("breakfast")
expect_false("breakfast" %in% basename(renv_cache_list()))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.