as_hms <- function(x) {
hms::new_hms(x)
}
err <- function(...) stop(..., call. = FALSE)
wrn <- function(...) warning(..., call. = FALSE)
paste_title <- function(x, title) {
if (is.null(title) || !nchar(title)) {
return(x)
}
paste0(x, " [", title, "]")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.