Nothing
#' @importFrom rlang caller_env
#' @importFrom vctrs vec_cast vec_ptype2
NULL
check_resolution <- function(resolution,
min = 0L,
max = 30L,
call = rlang::caller_env()) {
bad <- !is.na(resolution) & (resolution < min | resolution > max)
if (any(bad)) {
cli::cli_abort(
"{.arg resolution} must be between {min} and {max}, not {resolution[which(bad)[1]]}.",
call = call
)
}
invisible(resolution)
}
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.