rm_dirs <- function(dir_nm) {
if(dir.exists(dir_nm) == FALSE){
unlink(dir_nm, recursive = TRUE)
print(paste("removing file path",dir_nm))
} else {
print(paste(dir_nm,"file path not present"))
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.