R/populate-config.R
populate_config.Rd
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)
library(pluripotent)
if (FALSE) {
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
)
}