get_dependencies: Return all package dependencies from current package
Description
Return all package dependencies from current package
Usage
get_dependencies(path = "DESCRIPTION", dput = FALSE,
field = c("Depends", "Imports"))
Arguments
path
path to the DESCRIPTION file
dput
if TRUE return a dput output instead of character vector
field
DESCRIPTION fields to parse. Default is Import and Depends
Examples
Run this code# NOT RUN {
get_dependencies()
# }
Run the code above in your browser using DataLab