Copy the analysis directory structure of a packaged drake workflow to the selected directory.

copy_analysis(to = getwd(), drake = TRUE, overwrite = FALSE)

Arguments

to

Character scalar, file path, where to copy the workflow's files to (default = current working directory).

drake

Logical, whether to copy .drake directory (default = TRUE).

overwrite

Logical, whether to overwrite the analysis directory structure (default = FALSE)

Note

This function will copy the analysis directory structure supplied with the package and the .drake/ directory into the user's working directory (or the directory supplied to the to parameter).