#' @importFrom rlang is_scalar_character
validate_glossary_cache_path <- function(path) {
if (!rlang::is_scalar_character(path)) {
stop("invalid format for cache path provided.", call. = FALSE)
}
if (!dir.exists(path)) {
stop(
"path: ",
sQuote(path),
" doesn't exist. Please create it first.",
call. = FALSE
)
}
path
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.