options.trundler <- list(
trundler.chatty = TRUE
)
trundler_option <- function(option) {
option <- paste0("trundler.", option)
result <- getOption(option)
if (!is.null(result)) {
# Get option (if set).
result
} else {
# Get default.
options.trundler[[option]]
}
}
trundler_chatty <- function() {
trundler_option("chatty")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.