Nothing
ensure_igraph <- function(graph, optional = FALSE) {
if (is.null(graph)) {
if (!optional) {
cli::cli_abort("Must provide a graph object (provided {.code NULL}).")
} else {
return()
}
}
if (rlang::is_missing(graph)) {
cli::cli_abort("Must provide a graph object (missing argument).")
}
if (!is_igraph(graph)) {
cli::cli_abort("Must provide a graph object (provided wrong object type).")
}
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.