parse_io: Parse I/O calls

Description Usage Arguments

View source: R/parse_io.R

Description

Parse code & create a list of I/O calls

Usage

1
2
3
parse_io(path = ".", read.fun = c("read", "load"), write.fun = c("write",
  "save"), read.arg = "[Ff]ile", write.arg = read.arg, suffix = c("R",
  "Rmd"))

Arguments

path

Path to file/directory

read.fun

Vector of function names

write.fun

Vector of function names

read.arg

Regex matching the name of argument the value of which we want to extract

write.arg

Regex matching the name of argument the value of which we want to extract

suffix

Pattern passed to dir call


jchrom/datamake documentation built on May 18, 2019, 10:23 p.m.