Get all dependencies from a Rmd fileSource:
Get all dependencies from a Rmd file
Path to a Rmd file
Path to temporary script from purl vignette
-1 for quiet warnings with purl, 0 to see warnings
Encoding of the input file; always assumed to be UTF-8 (i.e., this argument is effectively ignored).
Logical. Whether function is run inside a Rmd, in case this must be executed in an external R session
Logical. Default TRUE. Whether to explore inline code for dependencies.