This seems to be a compiler error - I would be grateful for concrete advice how to fix this!
The following error shows when trying to install ranger:
RUN:
- install.packages("ranger")
- devtools::install_github("imbs-hl/ranger")
STACKTRACE:
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: *** [DataSparse.o] Error 4
/opt/R/3.5.2/lib/R/etc/Makeconf:171: recipe for target 'DataSparse.o' failed
ERROR: compilation failed for package ‘ranger’
* removing ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.5/ranger’
Warning in install.packages :
installation of package ‘ranger’ had non-zero exit status