#' Bundle for Prod
#'
#' Bundles packer using packer.
packer_bundle <- function() {
has_packer <- requireNamespace("packer", quietly = TRUE)
if (!has_packer) {
warning(
"Requires `packer` package: `install.packages('packer')`\n",
"Skipping.",
call. = FALSE
)
return()
}
packer::bundle()
}
packer_bundle()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.