Commit c47aef94 authored by Richard Cornes's avatar Richard Cornes
Browse files

Added directory creation if missing

parent 3acaa6be
......@@ -22,6 +22,11 @@ writeOutText = FALSE
config<-config::get(file = "config.yml")
odirs <- list(file.path(config$output_dir,"PAIR_DUPFILES"), file.path(config$output_dir,"MFILES_SHIP_FINAL"))
imake.dirs <- lapply(odirs, function(D){
if(!dir.exists(D)) dir.create(D)
})
if(length(my_args)<2)my_args<-my_args2
year<-my_args[1]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment