vcapply <- function(..., FUN.VALUE = character(1L)) { # nolint
vapply(..., FUN.VALUE = FUN.VALUE)
}
is_primitive_ggcall <- function(ggcall) {
f <- rlang::eval_tidy(ggcall[[1]], env = rlang::quo_get_env(ggcall[[1]]))
is.primitive(f)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.