Nothing
"%:::%" <- function(p, f) {
get(f, envir = asNamespace(p))
}
yes_no <- function(x) {
if (isTRUE(x)) {
crayon::green(clisymbols::symbol$tick)
} else {
crayon::red(clisymbols::symbol$cross)
}
}
fix_windows_nl <- function(x) {
gsub("\r\n", "\n", x)
}
glue_collapse <- function(...) {
if (utils::packageVersion("glue") > "1.2.0") {
utils::getFromNamespace("glue_collapse", "glue")(...)
} else {
utils::getFromNamespace("collapse", "glue")(...)
}
}
compare.glue <- function(x, y) {
if (identical(class(y), "character")) {
class(x) <- NULL
}
NextMethod("compare")
}
compact <- function(x) {
len <- lengths(x)
x[!len == 0]
}
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.