Hi all,
I cannot install the Dada2 package. Every time I try to load it it gives me an error message:
This is the output from R
> source("http://bioconductor.org/biocLite.R")
Bioconductor version 3.6 (BiocInstaller 1.27.2), ?biocLite for help
> biocLite("dada2")
BioC_mirror: https://bioconductor.org
Using Bioconductor 3.6 (BiocInstaller 1.27.2), R 3.4.0 (2017-04-21).
Installing package(s) ‘dada2’
trying URL 'https://bioconductor.org/packages/3.6/bioc/bin/windows/contrib/3.4/dada2_1.5.0.zip'
Content type 'application/zip' length 4437866 bytes (4.2 MB)
downloaded 4.2 MB
package ‘dada2’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\zqd803\AppData\Local\Temp\RtmpEdlefH\downloaded_packages
> library(dada2)
Error: package or namespace load failed for ‘dada2’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
der er ingen pakke med navn ‘GenomeInfoDbData’
It says no package called "GenomeInfoDbData"
I also tried
> devtools::install_github("benjjneb/dada2")
Downloading GitHub repo benjjneb/dada2@master
from URL https://api.github.com/repos/benjjneb/dada2/zipball/master
trying URL 'https://cran.rstudio.com/bin/windows/Rtools/Rtools34.exe'
Content type 'application/x-msdos-program' length 108085090 bytes (103.1 MB)
downloaded 103.1 MB
Error: running command '"C:/Program Files/R/R-3.4.0/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD config CC' had status 2
Then I tried to install the package GenomeInfoDbData but I get another error message
> biocLite("GenomeInfoDbData", dep=T)
BioC_mirror: https://bioconductor.org
Using Bioconductor 3.6 (BiocInstaller 1.27.2), R 3.4.0 (2017-04-21).
Installing package(s) ‘GenomeInfoDbData’
Error in if (file.exists(dest) && file.mtime(dest) > file.mtime(lib) && :
missing value where TRUE/FALSE needed
Tried to enter
.libPaths()
[1] "C:/Program Files/R/R-3.4.0/library"
And in that folder I can find GenomeInfoDbData (I can also find the zip here: C:\Users\zqd803\AppData\Local\Temp\RtmpEdlefH\downloaded_packages as would be expected from the output from running biocLite("dada2"))
I looked at other Q and A and often you ask for
> R.version
_
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 3
minor 4.0
year 2017
month 04
day 21
svn rev 72570
language R
version.string R version 3.4.0 (2017-04-21)
nickname You Stupid Darkness
> packageVersion("BiocInstaller")
[1] ‘1.27.2’
> packageVersion("ShortRead")
[1] ‘1.35.1’
Can you help solving this?
BTW, i noticed you are using the development version of Bioconductor (i.e. v3.6), whereas below I use the release version (v3.5)... Maybe for BioC-development the procedure is different?