#' check_input_module
#'
#' @param x test
#'
#' @export
check_input_module <- function(x) {
modules <- c("view", "summarise", "list", "tabulate", "glance", "examples", "tutorial")
if (!(x %in% modules)) {
stop(
"The first argument names the module you want to use and must be one of: ",
paste(modules, collapse = ", "),
". See the help module or the more comprehensive -h for more information."
)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.