Character vector of packages called with library or require.
knitr and rmarkdown are added by default to allow building the vignettes
if the directory contains "vignettes" in the path
Arguments
path
path to directory with Rmds or vector of Rmd files
pattern
pattern to detect Rmd files
recursive
logical. Should the listing recurse into directories?
warn
-1 for quiet warnings with purl, 0 to see warnings
inside_rmd
Logical. Whether function is run inside a Rmd,
in case this must be executed in an external R session
inline
Logical. Default TRUE. Whether to explore inline code for dependencies.