get_pkgs_from_description {origin} | R Documentation |
Get Packages from the DESCRIPTION file
Description
It looks for a DESCRIPTION file in the current project and returns all packages listed in Suggests, Imports, and Depends.
Usage
get_pkgs_from_description(path = NULL)
Arguments
path |
Path to a DESC>RIPTION file, If 'NULL' (default), the functions searches for a description file in the current active project |
Value
character vector of package names
Examples
# Only works inside of a package developing project
## Not run:
get_pkgs_from_description()
## End(Not run)
[Package origin version 1.1.2 Index]