read_rfiles {tidycode} | R Documentation |
Read R file(s) as a tidy data frame
Description
Read R file(s) as a tidy data frame
Usage
read_rfiles(...)
Arguments
... |
One or more quoted R file paths to read |
Value
A tidy data frame, a tbl_df
, with one row per R call. There will be three columns,
-
file
: the path of the original R file -
expr
: the R call -
line
: the line of the R call
Examples
d <- read_rfiles(
tidycode_example("example_plot.R"),
tidycode_example("example_analysis.R")
)
[Package tidycode version 0.1.1 Index]