desc_pkgs
will search code in a package for dependencies,
using both renv::dependencies to search R and RMD files,
and by detecting dependencies declared with roxygen2
decorators.
It will write these
package dependencies to the DESCRIPTION file.
Root package directory
DESCRIPTION file name
Path(s) to search for dependencies to put in SUGGESTS (supports regular expressions)
Path(s) to ignore in getting dependencies (supports regular expressions)
List of packages that must be retained even if not a current dependency
Whether to print messages when renv::dependencies
is called