Learn R Programming

phuse (version 0.2.2)

init_cfg: Initialize configuration for phuse

Description

read script metadata file in the repository and merged it with a local script metadata file if it exists.

Usage

init_cfg(cfg)

Arguments

cfg

a list containing script metadata information

Value

a list containing the merged configuration

Examples

Run this code
# NOT RUN {
  a <- "https://github.com/phuse-org/phuse-scripts/raw/master"
  b <- "development/R/scripts"
  c <- "Draw_Dist2_R.yml"
  f1 <- paste(a,b,c, sep = '/')
  f2 <- read_yml(f1)
  r1 <- init_cfg(f2)
# }

Run the code above in your browser using DataLab