copy_file: Copy file to project directory

Description Usage Arguments

View source: R/new_script.R

Description

Will copy any file from an external location (e.g. code library) into project No modification of that file will take place

Usage

1
copy_file(from, dest, overwrite = FALSE, alt_paths, version_control = FALSE)

Arguments

from

character. file name or path of file to copy

dest

character. file name file to create

overwrite

logical. Overwrite 'to' file if exists?

alt_paths

character vector. paths to other candidate files to search

version_control

logical. Should file be added to version control (default = FALSE)


tsahota/TidyProject documentation built on April 19, 2021, 9:14 p.m.