get_slot <- function(x, name, default='') { if(name %in% slotNames(x)) { slot(x, name) } else { default } } "%||%" <- function(x, y) if(is.null(x)) y else x
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.