Skip to contents

check existence and create folder if non-existent

Usage

check_dir_create(path)

Arguments

path

Folder path to check and create if not there.

Value

the same returned values for dir.create()

Examples

# \donttest{
run_example <- function(){
 xx <- tempdir()
 check_dir_create(xx)
 # on.exit(unlink(xx, recursive = TRUE), add = TRUE) 
}
run_example()
#> NULL
# }