#' Paste everything but na into a single string
#' @param ... character vector to convert to string
#' @export
paste_if_not_na <-
function(..., sep = "", collapse = " ") {
ARGS <- list(...)
ARGS <- lapply(ARGS, remove_true_na)
return(
paste(unlist(ARGS), sep = sep, collapse = collapse)
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.