with_mock_dir <- function(name, ...) {
skip_if_not_installed("httptest2") # Needed for httptest2::with_mock_dir
httptest2::with_mock_dir(test_path("../fixtures", name), ...)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.