check_supported <- function(obj){
if(!is_class(obj,"supported") &&
!is_ctd(obj)){
stopper("Unsupported class detected: ",
paste(methods::is(obj),collapse = " / "),
"\n"," obj must be at least one of the following classes:",
paste(" \n -",dict_class(group = "supported_print"),
collapse = ""))
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.