I have been using dada2 with no issues until one day when I opened the program and received this error

> library(dada2)

Error: package or namespace load failed for ‘dada2’ in loadNamespace(j R.version

_

platform x86_64-w64-mingw32

arch x86_64

os mingw32

system x86_64, mingw32

status

major 3

minor 5.3

year 2019

month 03

day 11

svn rev 76217

language R

version.string R version 3.5.3 (2019-03-11)

nickname Great Truth

> packageVersion("BiocInstaller")

[1] ‘1.30.0’

> packageVersion("ShortRead")

[1] ‘1.38.0’

> source("http://bioconductor.org/biocLite.R")

Bioconductor version 3.7 (BiocInstaller 1.30.0), ?biocLite for help

A newer version of Bioconductor is available for this version of R, ?BiocUpgrade for help

> biocLite()

BioC_mirror: https://bioconductor.org

Using Bioconductor 3.7 (BiocInstaller 1.30.0), R 3.5.3 (2019-03-11).

Old packages: 'pillar'

Update all/some/none? [a/s/n]: biocLite("dada2")

Update all/some/none? [a/s/n]:

a

There is a binary version available but the source version is later:

binary source needs_compilation

pillar 1.4.0 1.4.1 FALSE

installing the source package ‘pillar’

trying URL 'https://cran.rstudio.com/src/contrib/pillar_1.4.1.tar.gz'

Content type 'application/x-gzip' length 228572 bytes (223 KB)

downloaded 223 KB

* installing *source* package 'pillar' ...

** package 'pillar' successfully unpacked and MD5 sums checked

** R

** byte-compile and prepare package for lazy loading

** help

*** installing help indices

converting help for package 'pillar'

finding HTML links ... done

colonnade html

dim_desc html

expect_known_display html

extra_cols html

format_type_sum html

get_extent html

new_ornament html

finding level-2 HTML links ... done

new_pillar_shaft html

new_pillar_title html

new_pillar_type html

pillar-package html

pillar html

pillar_shaft html

style_subtle html

type_sum html

Rd warning: C:/Users/velicm/AppData/Local/Temp/Rtmp2PEIzq/R.INSTALL251c69d1ca2/pillar/man/type_sum.Rd:24: file link 'vec_ptype_abbr' in package 'vctrs' does not exist and so has been treated as a topic

Rd warning: C:/Users/velicm/AppData/Local/Temp/Rtmp2PEIzq/R.INSTALL251c69d1ca2/pillar/man/type_sum.Rd:31: file link 'vec_ptype_abbr' in package 'vctrs' does not exist and so has been treated as a topic

*** copying figures

** building package indices

** testing if installed package can be loaded

*** arch - i386

*** arch - x64

* DONE (pillar)

In R CMD INSTALL

The downloaded source packages are in

‘C:\Users\AppData\Local\Temp\RtmpqCIj4k\downloaded_packages’

I've tried re downloading dada2 using bioconductor

> source("http://bioconductor.org/biocLite.R")

Bioconductor version 3.7 (BiocInstaller 1.30.0), ?biocLite for help

A newer version of Bioconductor is available for this version of R, ?BiocUpgrade for help

> biocLite()

BioC_mirror: https://bioconductor.org

Using Bioconductor 3.7 (BiocInstaller 1.30.0), R 3.5.3 (2019-03-11).

> biocLite("dada2")

BioC_mirror: https://bioconductor.org

Using Bioconductor 3.7 (BiocInstaller 1.30.0), R 3.5.3 (2019-03-11).

Installing package(s) ‘dada2’

trying URL 'https://bioconductor.org/packages/3.7/bioc/bin/windows/contrib/3.5/dada2_1.8.0.zip'

Content type 'application/zip' length 2609763 bytes (2.5 MB)

downloaded 2.5 MB

package ‘dada2’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in BiocIns

> library(dada2)

Error: package or namespace load failed for ‘dada2’ in loadNamespace(j library(dada2)

Error in fetch(key) :

lazy-load database 'C:/Users/Documents/R/R-3.5.3/library/dada2/help/dada2.rdb' is corrupt

Are all my files corrupt? Is there a way to delete all of R-studio and the programs I have downloaded and try again from the beginning? Or am I missing something super basic in this whole process?

Thank you so much for any help or insight on what may be causing this !

Similar questions and discussions