Copy file and log where it was copied from
ic_copy_file_wlog.Rd
Arguments
- path
A character vector of one or more paths.
- new_path
A character vector of paths to the new locations.
- overwrite
Overwrite files if they exist. Default is FALSE. If this is FALSE and the file exists an error will be thrown.
Examples
if (FALSE) {
.old_wd <- setwd(tempdir())
fs::file_create("foo")
ic_copy_file_wlog("foo", "bar")
}