is.null.externalptr <- function(x) {
if (methods::is(x, "externalptr")) {
.Call(gribr_is_null_ptr, x)
} else {
stop("input is not of class 'externalptr'")
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.