powered by
check existence and create folder if non-existent
check_dir_create(path)
the same returned values for dir.create()
dir.create()
Folder path to check and create if not there.
# \donttest{ run_example <- function(){ xx <- tempdir() check_dir_create(xx) on.exit(unlink(xx, recursive = TRUE), add = TRUE) } run_example() # }
Run the code above in your browser using DataLab