Learn R Programming

phuse (version 0.2.2)

extract_fns: Extract File Names from Script Metadata

Description

extract folders and file names from a list containing script metadata.

Usage

extract_fns(lst)

Arguments

lst

a list containing script metadata

Value

a data frame (subdir, filename) containing parsed file names

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)
  f3 <- extract_fns(f2)
# }

Run the code above in your browser using DataLab