`%||%` <- function(l, r) if (is.null(l)) r else l
`%:::%` <- function(p, f) do.call(base::`:::`, list(p, f))
drop_nulls <- function(x) {
x [ ! vapply(x, is.null, TRUE) ]
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.