View source: R/deprecate_flat_file.R
deprecate_flat_file | R Documentation |
It is not inflated again during [inflate_all()]
as it is
identified as deprecated in the config file.
Previously generated files get "do not edit by hand" message removed.
The flat file is moved to "dev/flat_history".
deprecate_flat_file(flat_file)
flat_file |
Path to the flat file to deprecate |
Used for side effect. Move flat file to "dev/flat_history", update config file, and remove "do not edit by hand" message.
## Not run:
# These functions change the current user workspace
dev_file <- suppressMessages(
add_flat_template(
template = "add",
pkg = dummypackage, overwrite = TRUE, open = FALSE
)
)
deprecate_flat_file(flat_file = "dev/flat_additional.Rmd")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.