Rename a flat file
Value
Used for side effect. Flat file renamed, config file updated, inflated files modified when needed.
Examples
if (FALSE) {
# These functions change the current user workspace
dev_file <- suppressMessages(
add_flat_template(
template = "add",
pkg = ".", overwrite = TRUE, open = FALSE
)
)
rename_flat_file(
flat_file = "dev/flat_additional.Rmd",
new_name = "flat_new.Rmd"
)
}