R/read_rfiles.R
read_rfiles.Rd
Read R file(s) as a tidy data frame
read_rfiles(...)
One or more quoted R file paths to read
A tidy data frame, a tbl_df, with one row per R call. There will be three columns,
tbl_df
file: the path of the original R file
file
expr: the R call
expr
line: the line of the R call
line
d <- read_rfiles( tidycode_example("example_plot.R"), tidycode_example("example_analysis.R") )