#' @export
box::use(
. / add[...],
. / init[...],
. / install[...],
. / remove[...],
. / upgrade[...]
)
.on_load <- function(ns) {
box::use(cli[cli_h1, cli_div])
module_name <- box::name()
cli_div(theme = list(span.emph = list(color = "orange")))
cli_h1(
'Loading module "{.emph {module_name}}"'
)
cli::cli_alert_info(
"{.emph {module_name}} exposes the following functions: add, grab, init, install, remove, upgrade"
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.