Will extract all loaded packages using `library()`, `require()` or direct calls `::`.
pkg_scan(path)
folders containing the Rmd files (defaults to `c("TD", "lectures", "site")`).
path to the Rmd files