#' Determine if a pin exists
#'
#' @inheritParams pin_read
#' @export
pin_exists <- function(board, name, ...) {
check_dots_used()
UseMethod("pin_exists")
}
check_pin_exists <- function(board, name, call = caller_env()) {
if (pin_exists(board, name)) {
invisible()
} else {
abort_pin_missing(name, call = call)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.