read_yml: Read YML file into a list

Description Usage Arguments Value Author(s) Examples

View source: R/read_yml.R

Description

read script metadata file in the repository or in a local folder.

Usage

1

Arguments

fn

a URL or file name containing script metadata

Value

a list containing the parsed metadata tags

Author(s)

Hanming Tu

Examples

1
2
3
4
5
  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)

phuse documentation built on March 26, 2020, 6:31 p.m.