Skip to content

Commit

Permalink
Resolve packages using installed packages
Browse files Browse the repository at this point in the history
  • Loading branch information
kippandrew committed Oct 9, 2013
1 parent a81c63e commit 14ebdc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/dependencies.R
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ dirDependencies <- function(dir) {
pkgs <- unique(pkgs)

# then calculate recursive dependencies
available <- availableCRANSourcePackages()
installed <- installed.packages()
which <- c("Depends", "Imports", "LinkingTo")
depsList <- tools::package_dependencies(pkgs,
available,
installed,
which,
recursive=TRUE)

Expand Down

0 comments on commit 14ebdc8

Please sign in to comment.