Closed tiernanmartin closed 6 years ago
... unless you want it to.
The default should probably be that plans/ and doc/ are overwritten every time but extdata/ only gets overwritten when the user tells the function to.
plans/
doc/
extdata/
copy_pkg_files <- function(to = getwd(), overwrite_plans = TRUE, overwrite_doc = TRUE, overwrite_extdata = FALSE){ ... }
I changed my mind about overwrite_extdata = FALSE -- I think it's fine to default to TRUE because there shouldn't be any files in this directory anyway.
overwrite_extdata = FALSE
TRUE
... unless you want it to.
The default should probably be that
plans/
anddoc/
are overwritten every time butextdata/
only gets overwritten when the user tells the function to.