cat0 <- function(..., sep = "") {
cat(..., sep = sep)
}
`%&&%` <- function(a, b) {
if (!is.null(a) && !is.na(a) && !isFALSE(a)) {
b
} else {
NULL
}
}
block_path_file <- function(block) {
if (!is.null(block %@% "call") && block %@% "call" == "_PACKAGE") {
"index"
} else {
tolower(block[["name"]])
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.