powered by
Force creating directory with checks
dir_create2(x, showWarnings = FALSE, recursive = TRUE, check = TRUE, ...)
Normalized path
path to create
passed to dir.create
dir.create
whether to check the directory after creation
path <- file.path(tempfile(), 'a', 'b', 'c') # The following are equivalent dir.create(path, showWarnings = FALSE, recursive = TRUE) dir_create2(path)
Run the code above in your browser using DataLab