## Not run:
# pdb <- available.packages()
# deps <- package_dependencies(packages = "MASS", pdb,
# which = c("Depends", "Imports", "LinkingTo", "Suggests"),
# recursive = TRUE, reverse = TRUE)
# length(deps$MASS)
# ## End(Not run)
Run the code above in your browser using DataLab