I am trying to install pagedown on Rstudio Cloud and I get the following error:
Installing package into ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.5’
(as ‘lib’ is unspecified)
ERROR: dependency ‘websocket’ is not available for package ‘pagedown’
- removing ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.5/pagedown’
installation of package ‘/tmp/RtmpsjhrAU/filec31a8a761f/pagedown_0.1.4.tar.gz’ had non-zero exit status
so I tried to install
remotes::install_github('rstudio/websocket')
and I got the following error:
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: *** [websocket.o] Error 4
ERROR: compilation failed for package ‘websocket’
- removing ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.5/websocket’
What I should do to fix it, considering that I am working on Rstudio Cloud?