Skip to content

Commit

Permalink
Merge pull request rstudio#3 from rstudio/bugfix/package-dependencies
Browse files Browse the repository at this point in the history
Resolve packages using installed packages
  • Loading branch information
jjallaire committed Oct 9, 2013
2 parents a81c63e + 14ebdc8 commit 468c09d
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 468c09d

Please sign in to comment.