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

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

Arguments

to

character. File path, where to copy analysis structure, Default: getwd()

drake

logical. Whether to copy .drake directory, Default: TRUE

overwrite

logical. Whether to overwrite the analysis directory structure, Default: FALSE

Details

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).