get_yml_inputs: Get Inputs from Script Metadata File

View source: R/get_yml_inputs.R

get_yml_inputsR Documentation

Get Inputs from Script Metadata File

Description

Get inputs from script metadata.

Usage

get_yml_inputs(fn = NULL)

Arguments

fn

a file name or URL pointing to script metadata file

Value

a list of input values provided for the script

Author(s)

Hanming Tu

Examples

  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 = '/')
  r1 <- get_inputs(f1)

TuCai/phuse documentation built on Sept. 2, 2022, 5:17 a.m.