R/OutputDirCreate.R

Defines functions OutputDirCreate

OutputDirCreate <- function(dir.out){
  if(file.exists(dir.out) && !dir.exists(dir.out)){
    stop("A file with the name of the output dir exists. tracee should not have deleted this file. Inspect and either delete file manually, or change output directory name.")
  }
  if(!dir.exists(dir.out)) dir.create(dir.out,recursive=TRUE)

}

Try the tracee package in your browser

Any scripts or data that you put into this service are public.

tracee documentation built on Nov. 24, 2026, 5:07 p.m.