rename_flat_file {fusen}R Documentation

Rename a flat file

Description

Rename a flat file

Usage

rename_flat_file(flat_file, new_name)

Arguments

flat_file

Path to the flat file to rename

new_name

New name for the flat file

Value

Used for side effect. Flat file renamed, config file updated, inflated files modified when needed.

Examples

## Not run: 
# 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"
)

## End(Not run)

[Package fusen version 0.6.0 Index]