Move or rename filesSource:
Compared to file.rename
file_move() always fails if it is unable to move
a file, rather than signaling a Warning and returning an error code.
A character vector of one or more paths.
New file path. If
new_pathis existing directory, the file will be moved into that directory; otherwise it will be moved/renamed to the full path.
Should either be the same length as
path, or a single directory.