Nothing
is_installed <- function(pkg) {
is_true(requireNamespace(pkg, quietly = TRUE))
}
has_crayon <- function() {
is_installed("crayon") && crayon::has_color()
}
silver <- function(x) if (has_crayon()) crayon::silver(x) else x
red <- function(x) if (has_crayon()) crayon::red(x) else x
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.