populate_config: Populated the configuration value with project-specific...

View source: R/populate-config.R

populate_configR Documentation

Populated the configuration value with project-specific values.

Description

populate_config() starts with config file and replaces the template values with project-specific values.

Usage

populate_config(path_in, project_name, path_out = path_in)

Arguments

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.

Author(s)

Will Beasley

Examples

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)

OuhscBbmc/pluripotent documentation built on March 8, 2024, 6:10 a.m.