Package installation fails? (tidyverse, rjson)



Hi there,

Trying to install tidyverse (default directory, default repos) on rstudiocloud and all goes fine until this:

Error in library(tidyverse) : there is no package called ‘tidyverse’
Execution halted
Warning in install.packages :
installation of package ‘praise’ had non-zero exit status

Afterwards, all packages show a non-zero exit status and installation fails. I'm running a Windows machine locally, but I don't believe this should affect rstudiocloud.


Have you tried installing with dependencies?

install.packages("tidyverse", dependencies=TRUE)


I did, without luck. I think I found the issue though: I was running the project with an .Rprofile file that contained a number of libraries to automatically load; there seemed to be issues with some of those, but once I removed the .Rprofile file and restarted R, I was able to install tidyverse and rjson without issue.