# dev_vignettes.R
# Generate new vignettes for package cargo. NOT meant to be sourced.
# Packages ---------------------------------------------------------------------
library(devtools)
library(usethis)
# Generate new vignettes -------------------------------------------------------
usethis::use_vignette(name = "cargo_primer",
title = "A primer to package cargo")
usethis::use_vignette(name = "cargo_tutorial",
title = "How to use the containers defined in package cargo")
# Rebuild and install package locally with vignettes (optional) ----------------
# devtools::install(build_vignettes = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.