test_that("repos is a list, #82", {
skip_if_not_installed("withr")
expect_true(withr::with_options(
list(repos = list(CRAN = "https://cloud.r-project.org")),
callr::r(function() inherits(getOption("repos"), "list"))
))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.