Closed tpyork closed 4 years ago
Good find.
Originally I thought we should be consistent with dir.create()
, which throws a warning when attempting to create a directory that already exists but I almost always set showWarnings=FALSE
in my scripts to avoid the extra noise.
Jim Hester must have felt similarly because fs::dir_create()
just ignores existing directories.
I agree we should either print a message or document the fact that existing directories are silently ignored (a la fs
).
Thoughts?
great point re fs::dir_create
. i'm ok with documenting existing directories are silently ignored.
osf_mkdir
does not overwrite directory if it already exists. This is a good thing. Possibly include message that indicates directory already exists and no action is taken.