Nothing
#' Check if the supplied \code{sort} is a valid logging sorting option.
#' @param sort how to sort the entries in a log.
#' Valid are \code{smart}, \code{none} and \code{alphabetic}
#' @return No return value, called for side effects
#' @export
check_log_sort <- function(sort) {
if (!sort %in% get_log_sorts()) {
stop(
"'sort' must be a valid log sort. \n",
"Supported values: '",
paste0(get_log_sorts(), collapse = ", "), "' \n",
"Actual value: '", sort
)
}
invisible(sort)
}
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.