Skip to content

Commit 054d078

Browse files
sneumannagbeltran
authored andcommitted
no visible binding for global variable
1 parent e141522 commit 054d078

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

R/Risa-biocViews.R

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
bioconductor.version <- 2.12
1+
bioconductor.version <- 3.1
22

33
getPackagesInBiocView <- function(view,
44
reposUrl = c("BiocSoftware", "BiocAnnotationData", "BiocExperimentData"),
55
biocVersion = bioconductor.version) {
66

7-
# suppressPackageStartupMessages(require("biocViews"))
8-
data(biocViewsVocab)
7+
data("biocViewsVocab")
98

109
reposUrl <- match.arg(reposUrl)
1110

@@ -24,7 +23,7 @@ getPackagesInBiocView <- function(view,
2423
biocPaths,
2524
sep = "/")
2625

27-
bv <- getBiocViews(reposUrl, biocViewsVocab, "NoViewProvided")
26+
bv <- getBiocViews(reposUrl, get("biocViewsVocab"), "NoViewProvided")
2827

2928
if (!view %in% names(bv)) {
3029
warning("BiocView ", view, " not found.")

0 commit comments

Comments
 (0)