test_that("missing template package yields custom error", {
expect_snapshot(path_package_pkgdown("x", "missing", 3), error = TRUE)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.