#' Helper function to pass a diagnostic message
#'
#' @author Maikel Verouden
#'
#' @noRd
#' @keywords internal
brapi_message <- function(msg = "Using local test server.") {
if (is.null(msg)) {return("")}
if (!getOption("brapi_info", default = FALSE)) {return("")}
return(base::message(msg))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.