#' nulltoNA
#'
#' Replace NULL with NA
#' @param x Your value
#' @export
nullToNA <- function(x) {
x[sapply(x, is.null)] <- NA
return(x)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.