Hello,
I just installed regioneR
and tried to run some of the examples in the vignette but they failed. After a fresh install from Bioconductor I did:
library(regioneR) A <- toGRanges(data.frame(chr=c("chr1", "chr1", "chr1"), start=c(20000, 50000, 100000), end=c(22000, 70000, 400000))) randomizeRegions(A, genome="hg19") Error in which(genome == inst_pkgs[, "provider_version"]) : error in evaluating the argument 'x' in selecting a method for function 'which': Error in `[.data.frame`(inst_pkgs, , "provider_version") : undefined columns selected
Here is my sessionInfo():
> sessionInfo() R version 3.2.2 (2015-08-14) Platform: x86_64-apple-darwin14.5.0 (64-bit) Running under: OS X 10.11.4 (El Capitan) locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats4 parallel stats graphics grDevices utils datasets [8] methods base other attached packages: [1] regioneR_1.2.3 BSgenome_1.38.0 rtracklayer_1.30.4 [4] Biostrings_2.38.4 XVector_0.10.0 GenomicRanges_1.22.4 [7] GenomeInfoDb_1.6.3 IRanges_2.4.8 S4Vectors_0.8.11 [10] BiocGenerics_0.16.1 memoise_1.0.0 loaded via a namespace (and not attached): [1] zlibbioc_1.16.0 GenomicAlignments_1.6.3 [3] BiocParallel_1.4.3 tools_3.2.2 [5] SummarizedExperiment_1.0.2 Biobase_2.30.0 [7] lambda.r_1.1.7 futile.logger_1.4.1 [9] digest_0.6.9 futile.options_1.0.0 [11] bitops_1.0-6 RCurl_1.95-4.8 [13] Rsamtools_1.22.0 XML_3.98-1.4
As a quick update, I installed regioneR fresh on another system and tried the same code from the vignette and received the same error.