#' @export
classNames <- function(...) {
nms <- unlist(rlang::list2(...))
nms <- unlist(lapply(nms, strsplit, "\\s", perl = TRUE))
paste(nms[!duplicated(nms)], collapse = " ")
}
dropNulls <- function(x) {
x[!vapply(x, is.null, FUN.VALUE = logical(1))]
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.