Skip to contents

Copies specified files from the vauvau shared code directory to a destination directory.

Usage

copy_vauvau_file(..., to = getwd())

Arguments

...

Character strings specifying the files or subdirectories to copy from the vauvau directory.

to

Character string specifying the destination directory. Defaults to the current working directory.

Value

Logical vector indicating success/failure for each file copied, as returned by file.copy().

Details

Files are copied from ~/cloudfiles/code/shared/vauvau/ directory to the specified destination.

Examples

if (FALSE) { # \dontrun{
# Copy specific files from vauvau directory
copy_vauvau_file("script.R", "data.csv")

# Copy to specific destination
copy_vauvau_file("config.yml", to = "/path/to/project")
} # }