powered by
PackageDependencies will examine the DESCRIPTION file of a package and return a vector of dependencies.
PackageDependencies( x, type = c("Depends", "Imports", "Suggests", "Enhances", "LinkingTo") )
The name of the packages
What sort of dependency are you looking for? Permissible values are "Depends", "Imports", "Suggests", "Enhances" and "LinkingTo"
# NOT RUN { # } # NOT RUN { PackageDependencies("ggplot2", "Depends") # } # NOT RUN { # }
Run the code above in your browser using DataLab