Add R package dependencies for analysis code
psa_dependencies.Rd
This function will look at all .R or .Rmd files for
R packages to include in the package dependencies list.
You can tell it to scan a specific folder - or use the
default inst
- or add a package directly. If you
use the add_package
option, the scan_folder
will
be ignored.