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