prepDir: prepDir: Create A New Directory

Description Usage Arguments Details Author(s)

View source: R/prepDir.R

Description

prepDir() checks whether a directory exists and tries to creates it if not

Usage

1
prepDir(outdir, recurs = T)

Arguments

outdir

character value with path of new directory to create

recurs

logical; should parent directories be created?

Details

This function will check whether the specified directory exists. If it does not, it will try to create it; it will fail with an error if it can not. If it already exists, it will return a value of TRUE.

Author(s)

M.W.Rowe, mwr.stats@gmail.com


mwrowe/microRutils documentation built on June 12, 2021, 2:41 p.m.