setClassUnion("character_or_NULL", c("character", "NULL"))
setClassUnion("numeric_or_NULL", c("numeric", "NULL"))
setClassUnion("logical_or_NULL", c("logical", "NULL"))
setClassUnion("data.frame_or_NULL", c("data.frame", "NULL"))
#' @import sp
setClassUnion("SpatialPoints_or_NULL", c("SpatialPoints", "NULL"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.