Skip to content

Commit

Permalink
Merge pull request #432 from hollywoof/patch-2
Browse files Browse the repository at this point in the history
Reduce filters used in available,packages call
  • Loading branch information
jmcphers authored Jul 27, 2020
2 parents 6d3afda + c62fb82 commit 043f603
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 @@ -76,11 +76,11 @@ snapshotDependencies <- function(appDir, implicit_dependencies=c()) {
# get Bioconductor repos if any
biocRepos = repos[grep('BioC', names(repos), perl=TRUE, value=TRUE)]
if (length(biocRepos) > 0) {
biocPackages = available.packages(contriburl = contrib.url(biocRepos, type = "source"), type = "source")
biocPackages = available.packages(contriburl = contrib.url(biocRepos, type = "source"), type = "source", filters = c("duplicates"))
} else {
biocPackages = c()
}
repo.packages <- available.packages(contriburl = contrib.url(repos, type = "source"), type = "source")
repo.packages <- available.packages(contriburl = contrib.url(repos, type = "source"), type = "source", filters = c("duplicates"))
named.repos <- name.all.repos(repos)
repo.lookup <- data.frame(
name = names(named.repos),
Expand Down

0 comments on commit 043f603

Please sign in to comment.