#' stop_if_e
#'
#' @param file
#'
#' @return
#' @export
#'
#' @examples
stop_if_e <- function(file) {
if (file.exists(file)) {
stop(sprintf("file (%s) already exists", file))
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.