#' @export
create_dir <- function(dir_path, overwrite = FALSE) {
if (!overwrite) {
if(dir.exists(dir_path)) stop('directory already exists...doing nothing')
}
dir.create(dir_path)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.