Is this an out of memory problem, or something else?
(If it is memory, am I out of luck? Doesn't seem like caching an arbitrary dev version would be desirable...)
> devtools::install_github("tidyverse/readr")
Downloading GitHub repo tidyverse/readr@master
✔ checking for file ‘/tmp/RtmptWF1Cl/remotes31d734f1f66/tidyverse-readr-69c9fd3/DESCRIPTION’ ...
─ preparing ‘readr’:
✔ checking DESCRIPTION meta-information ...
─ cleaning src
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ looking to see if a ‘data/datalist’ file should be added
─ building ‘readr_1.2.0.tar.gz’
Installing package into ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.5’
(as ‘lib’ is unspecified)
* installing *source* package ‘readr’ ...
** libs
g++ -I"/opt/R/3.5.0/lib/R/include" -DNDEBUG -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.5/Rcpp/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.5/BH/include" -I/usr/local/include -fpic -g -O2 -c Collector.cpp -o Collector.o
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
make: *** [Collector.o] Error 4
/opt/R/3.5.0/lib/R/etc/Makeconf:168: recipe for target 'Collector.o' failed
ERROR: compilation failed for package ‘readr’
* removing ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.5/readr’
* restoring previous ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.5/readr’
Error in i.p(...) :
(converted from warning) installation of package ‘/tmp/RtmptWF1Cl/file31d61b9028d/readr_1.2.0.tar.gz’ had non-zero exit status
So as far as I can tell, readr 1.2 hit CRAN just at the start of a major holiday weekend in the US. In the past, packages that can't compile within Cloud's (alpha-version) memory limit have been built and cached. Although I have no inside knowledge, I expect that as soon as anybody is available to do so, this will happen for the latest readr as well. But in the meantime, I think anything that depends on readr is unfortunately going to fail to install in Cloud. This has already come up once this weekend:
As I did in that case, I've set up a workaround if you need to install tidyverse or any other readr-dependent package before somebody manages to build and cache readr 1.2.1: a Cloud project with up-to-date tidyverse except for readr (readr is version 1.1.1). You should be able to copy this project into your Cloud and go from there:
FWIW, since this latest issue is about CRAN readr, I see it as somewhat separate from my question above — right now, I don't really expect the Cloud team to cache binaries of arbitrary development versions of packages. Seems like that would get out of hand quickly! I am curious whether there is a longer term plan for how to handle all this in Cloud's future, but the mere existence of my curiosity doesn't oblige anybody else to come up with an answer!
Hi! readr 1.2.1 has now been cached! and yes, we do have a plan on our roadmap for how to deal with the caching of new versions of cran packages as they are released!
I'm facing the same memory issue when trying to install tidyverse dependencies
g++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions. make: *** [Collector.o] Error 4 /opt/R/3.5.0/lib/R/etc/Makeconf:168: recipe for target 'Collector.o' failed ERROR: compilation failed for package ‘readr’ * removing ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.5/readr’ Warning in install.packages : installation of package ‘readr’ had non-zero exit status