#' Display a message
#' @param ... arguments passed to `base::message()`
#' @param verbose Display progress
#' @importFrom assertthat assert_that is.flag noNA
#' @noRd
show_message <- function(..., verbose = TRUE) {
assert_that(is.flag(verbose), noNA(verbose))
if (verbose) {
message(...)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.