# intended for required scalar characters like required dbIds
match_req <- function(...) {
args <- list(...)
non_empty <- function(s) {nchar(s) > 0}
if (!lapply(args, non_empty) %>% unlist %>% all()) {
stop("All parameters must have at least a length of one.")
}
args[[1]][1]
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.