Skip to contents

Mimics `mkdir -p` by making a directory and all subdirectories and suppressing error messages if folder already exists.

Usage

mkdir_p(path)

Arguments

path

Location of folder to be made

Value

None

Examples

d <- file.path(tempdir(), "narcan_example_dir")
mkdir_p(d)
unlink(d, recursive = TRUE)