I'm having issues with installing the rEDM package (disclaimer: it's my package, and I'm testing out using RStudio Cloud for a workshop tutorial session).
The error I'm getting appears to be from running the gcc compiler:
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: *** [forecast_machine.o] Error 4 /opt/R/3.5.0/lib/R/etc/Makeconf:168: recipe for target 'forecast_machine.o' failed ERROR: compilation failed for package ‘rEDM’
which sounds similar to the issue previously described about needing too much memory to e.g. install TMB.
**Same error for installing from CRAN vs. github (github.com/ha0ye/rEDM) **