copy_files: Copy files to new location

copy_filesR Documentation

Copy files to new location

Description

Helper function wrapped around file.copy.

Usage

copy_files(path, file_names, to, ...)

Arguments

path

character vector defining directory with files of interest.

file_names

character vector of file names within the directory.

to

character vector defining the destination directory for the files listed.

...

additional parameters passed to file.copy

Details

Basic functionality is making it simple to collapse file.copy with file.path and ensure the copy.date is kept to TRUE.


al-obrien/relay documentation built on May 6, 2023, 10:19 p.m.