docopt/docopt.R

Unable to load library: 'docopt.rdb is corrupt'

Closed this issue · 1 comments

I've tried downloading from github and CRAN, and both times when I try to load the library I get the following error:

Error in get(".packageName", where) : 
  lazy-load database '/home/XXXX/R/x86_64-pc-linux-gnu-library/current_libs/docopt/R/docopt.rdb' is corrupt
In addition: Warning message:
In get(".packageName", where) : internal error -3 in R_decompress1
Error: package or namespace load failed for ‘docopt’

OK, the problem seems to have fixed itself after restarting R.
I think it had something to do with the fact that I did a system update which installed a new version or R while the old version was still running.