given a package name, extracts everything from the Imports and Depends fields.

get_imports(package, suggests = FALSE)

Arguments

package

the name of the package for the imports

suggests

should the packages in suggests be returned (default = FALSE)

Value

character