# This R file is based on https://www.kloppenborg.ca/2021/06/long-running-vignettes/ and
# https://ropensci.org/blog/2019/12/08/precompute-vignettes/ to allow for the `vaeac` vignette
# to be pre-built such that is not run every time we check and/or build the package.
old_wd <- getwd()
setwd("vignettes/")
knitr::knit("understanding_shapr.Rmd.orig", output = "understanding_shapr.Rmd")
# knitr::purl("understanding_shapr.Rmd.orig", output = "understanding_shapr.R") # Don't need this
knitr::knit("understanding_shapr_vaeac.Rmd.orig", output = "understanding_shapr_vaeac.Rmd")
# knitr::purl("understanding_shapr_vaeac.Rmd.orig", output = "understanding_shapr_vaeac.R") # Don't need this
knitr::knit("understanding_shapr_regression.Rmd.orig", output = "understanding_shapr_regression.Rmd")
# knitr::purl("understanding_shapr_regression.Rmd.orig", output = "understanding_shapr_regression.R") # Don't need this
setwd(old_wd)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.