powered by
Return all package dependencies from current package
att_from_description( path = "DESCRIPTION", dput = FALSE, field = c("Depends", "Imports", "Suggests") )
A character vector with packages names
path to the DESCRIPTION file
if FALSE return a vector instead of dput output
DESCRIPTION field to parse, Import, Suggests and Depends by default
dummypackage <- system.file("dummypackage", package = "attachment") # browseURL(dummypackage) att_from_description(path = file.path(dummypackage, "DESCRIPTION"))
Run the code above in your browser using DataLab