Create and/or clear out a directory

make_clean_directory(path, clean = FALSE)

Arguments

path

Path to directory to create and/or clean

clean

Should the contents of path be deleted? Defaults to FALSE for safety.

Value

Invisibly returns the path that may have been created and/or cleaned.