View source: R/populate-config.R
populate_config | R Documentation |
populate_config()
starts with config file and replaces the
template values with project-specific values.
populate_config(path_in, project_name, path_out = path_in)
path_in |
character of the config file to populate. Required. |
project_name |
character of the new project. Required. |
path_out |
character of the config file to populate. Required. |
Will Beasley
library(pluripotent)
## Not run:
url_config <- "https://github.com/OuhscBbmc/cdw-skeleton-1/blob/main/config.yml?raw=true"
path_in <- "~/config.yml"
path_out <- "~/config-out.yml"
utils::download.file(url=url_config, destfile=path_in)
populate_config(
path_in = path_in,
project_name = "thumann-awesomeness-1",
path_out = path_out
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.