Pipe-amenable directory creation
dir_create_pipe.Rd
This function is small wrapper on dir.create()
,
returning the path created.
If the directory creation process was unsuccessful, a warning is emitted.
Arguments
- path
a character vector containing a single path name. Tilde expansion is done.
- showWarnings
logical; should the warnings on failure be shown?
- recursive
logical. Should elements of the path other than the last be created? If true, like the Unix command
mkdir -p
.- mode
the mode to be used on Unix-alikes. Default is "0777".