test_that("all vignetts are accounted for", {
testthat::skip_on_cran()
# make sure vig dir exists
vig_dir <- file.path("..", "..", "vignettes")
testthat::skip_if_not(dir.exists(vig_dir))
vigs <- dir(vig_dir, pattern = "\\.Rmd$")
vigs <- sub(".Rmd", "", vigs, fixed = TRUE)
expect_setequal(vignettes_for_ggally, vigs)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.