read_yml: Read YML file into a list

View source: R/read_yml.R

read_ymlR Documentation

Read YML file into a list

Description

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

Usage

read_yml(fn)

Arguments

fn

a URL or file name containing script metadata

Value

a list containing the parsed metadata tags

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.