I am struggling installing tidyverse on my Linux Debian 10 with R 3.6.1. There is an error in the readRDS. Here is the output of the console:
> install.packages("tidyverse")
Installing package into ‘/home/user/R/x86_64-pc-linux-gnu-library/3.6’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/tidyverse_1.2.1.tar.gz'
Content type 'application/x-gzip' length 61647 bytes (60 KB)
==================================================
downloaded 60 KB
* installing *source* package ‘tidyverse’ ...
** package ‘tidyverse’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in readRDS(nsInfoFilePath) : error reading from connection
Calls: <Anonymous> ... namespaceImportFrom -> asNamespace -> loadNamespace -> readRDS
Execution halted
ERROR: lazy loading failed for package ‘tidyverse’
* removing ‘/home/user/R/x86_64-pc-linux-gnu-library/3.6/tidyverse’
Warning in install.packages :
installation of package ‘tidyverse’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpGVQpvW/downloaded_packages’
Any clue on what's wrong and a solution? I precise that all dependencies were installed successfully.