I am teaching a class right now using https://rstudio.cloud/ and I can no longer run:
install.packages("tidyverse")
In a new project - I (and the students) keep getting non-zero exit status on the dplyr
installation. I have tried running;
install.packages("devtools")
devtools::install_github("tidyverse/dplyr")
But this also fails - Is this to do with the recent update to dplyr
?
Output:
> install.packages("dplyr")
Installing package into ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6’
(as ‘lib’ is unspecified)
trying URL 'http://cran.rstudio.org/src/contrib/dplyr_0.8.5.tar.gz'
Content type 'application/x-gzip' length 1378766 bytes (1.3 MB)
==================================================
downloaded 1.3 MB
* installing *source* package ‘dplyr’ ...
** package ‘dplyr’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
g++ -std=gnu++11 -I"/opt/R/3.6.0/lib/R/include" -DNDEBUG -I../inst/include -DRCPP_DEFAULT_INCLUDE_CALL=false -DCOMPILING_DPLYR -DRCPP_USING_UTF8_ERROR_STRING -DRCPP_USE_UNWIND_PROTECT -DBOOST_NO_AUTO_PTR -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/BH/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/plogr/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/Rcpp/include" -I/usr/local/include -fpic -g -O2 -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++11 -I"/opt/R/3.6.0/lib/R/include" -DNDEBUG -I../inst/include -DRCPP_DEFAULT_INCLUDE_CALL=false -DCOMPILING_DPLYR -DRCPP_USING_UTF8_ERROR_STRING -DRCPP_USE_UNWIND_PROTECT -DBOOST_NO_AUTO_PTR -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/BH/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/plogr/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/Rcpp/include" -I/usr/local/include -fpic -g -O2 -c address.cpp -o address.o
g++ -std=gnu++11 -I"/opt/R/3.6.0/lib/R/include" -DNDEBUG -I../inst/include -DRCPP_DEFAULT_INCLUDE_CALL=false -DCOMPILING_DPLYR -DRCPP_USING_UTF8_ERROR_STRING -DRCPP_USE_UNWIND_PROTECT -DBOOST_NO_AUTO_PTR -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/BH/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/plogr/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/Rcpp/include" -I/usr/local/include -fpic -g -O2 -c api.cpp -o api.o
g++ -std=gnu++11 -I"/opt/R/3.6.0/lib/R/include" -DNDEBUG -I../inst/include -DRCPP_DEFAULT_INCLUDE_CALL=false -DCOMPILING_DPLYR -DRCPP_USING_UTF8_ERROR_STRING -DRCPP_USE_UNWIND_PROTECT -DBOOST_NO_AUTO_PTR -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/BH/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/plogr/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/Rcpp/include" -I/usr/local/include -fpic -g -O2 -c arrange.cpp -o arrange.o
g++ -std=gnu++11 -I"/opt/R/3.6.0/lib/R/include" -DNDEBUG -I../inst/include -DRCPP_DEFAULT_INCLUDE_CALL=false -DCOMPILING_DPLYR -DRCPP_USING_UTF8_ERROR_STRING -DRCPP_USE_UNWIND_PROTECT -DBOOST_NO_AUTO_PTR -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/BH/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/plogr/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/Rcpp/include" -I/usr/local/include -fpic -g -O2 -c between.cpp -o between.o
g++ -std=gnu++11 -I"/opt/R/3.6.0/lib/R/include" -DNDEBUG -I../inst/include -DRCPP_DEFAULT_INCLUDE_CALL=false -DCOMPILING_DPLYR -DRCPP_USING_UTF8_ERROR_STRING -DRCPP_USE_UNWIND_PROTECT -DBOOST_NO_AUTO_PTR -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/BH/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/plogr/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/Rcpp/include" -I/usr/local/include -fpic -g -O2 -c bind.cpp -o bind.o
g++ -std=gnu++11 -I"/opt/R/3.6.0/lib/R/include" -DNDEBUG -I../inst/include -DRCPP_DEFAULT_INCLUDE_CALL=false -DCOMPILING_DPLYR -DRCPP_USING_UTF8_ERROR_STRING -DRCPP_USE_UNWIND_PROTECT -DBOOST_NO_AUTO_PTR -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/BH/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/plogr/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/Rcpp/include" -I/usr/local/include -fpic -g -O2 -c distinct.cpp -o distinct.o
g++ -std=gnu++11 -I"/opt/R/3.6.0/lib/R/include" -DNDEBUG -I../inst/include -DRCPP_DEFAULT_INCLUDE_CALL=false -DCOMPILING_DPLYR -DRCPP_USING_UTF8_ERROR_STRING -DRCPP_USE_UNWIND_PROTECT -DBOOST_NO_AUTO_PTR -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/BH/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/plogr/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/Rcpp/include" -I/usr/local/include -fpic -g -O2 -c encoding.cpp -o encoding.o
g++ -std=gnu++11 -I"/opt/R/3.6.0/lib/R/include" -DNDEBUG -I../inst/include -DRCPP_DEFAULT_INCLUDE_CALL=false -DCOMPILING_DPLYR -DRCPP_USING_UTF8_ERROR_STRING -DRCPP_USE_UNWIND_PROTECT -DBOOST_NO_AUTO_PTR -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/BH/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/plogr/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/Rcpp/include" -I/usr/local/include -fpic -g -O2 -c filter.cpp -o filter.o
g++ -std=gnu++11 -I"/opt/R/3.6.0/lib/R/include" -DNDEBUG -I../inst/include -DRCPP_DEFAULT_INCLUDE_CALL=false -DCOMPILING_DPLYR -DRCPP_USING_UTF8_ERROR_STRING -DRCPP_USE_UNWIND_PROTECT -DBOOST_NO_AUTO_PTR -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/BH/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/plogr/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/Rcpp/include" -I/usr/local/include -fpic -g -O2 -c group_indices.cpp -o group_indices.o
g++ -std=gnu++11 -I"/opt/R/3.6.0/lib/R/include" -DNDEBUG -I../inst/include -DRCPP_DEFAULT_INCLUDE_CALL=false -DCOMPILING_DPLYR -DRCPP_USING_UTF8_ERROR_STRING -DRCPP_USE_UNWIND_PROTECT -DBOOST_NO_AUTO_PTR -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/BH/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/plogr/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/Rcpp/include" -I/usr/local/include -fpic -g -O2 -c hybrid.cpp -o hybrid.o
g++ -std=gnu++11 -I"/opt/R/3.6.0/lib/R/include" -DNDEBUG -I../inst/include -DRCPP_DEFAULT_INCLUDE_CALL=false -DCOMPILING_DPLYR -DRCPP_USING_UTF8_ERROR_STRING -DRCPP_USE_UNWIND_PROTECT -DBOOST_NO_AUTO_PTR -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/BH/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/plogr/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/Rcpp/include" -I/usr/local/include -fpic -g -O2 -c init.cpp -o init.o
g++ -std=gnu++11 -I"/opt/R/3.6.0/lib/R/include" -DNDEBUG -I../inst/include -DRCPP_DEFAULT_INCLUDE_CALL=false -DCOMPILING_DPLYR -DRCPP_USING_UTF8_ERROR_STRING -DRCPP_USE_UNWIND_PROTECT -DBOOST_NO_AUTO_PTR -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/BH/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/plogr/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/Rcpp/include" -I/usr/local/include -fpic -g -O2 -c join.cpp -o join.o
g++ -std=gnu++11 -I"/opt/R/3.6.0/lib/R/include" -DNDEBUG -I../inst/include -DRCPP_DEFAULT_INCLUDE_CALL=false -DCOMPILING_DPLYR -DRCPP_USING_UTF8_ERROR_STRING -DRCPP_USE_UNWIND_PROTECT -DBOOST_NO_AUTO_PTR -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/BH/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/plogr/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/Rcpp/include" -I/usr/local/include -fpic -g -O2 -c join_exports.cpp -o join_exports.o
g++ -std=gnu++11 -I"/opt/R/3.6.0/lib/R/include" -DNDEBUG -I../inst/include -DRCPP_DEFAULT_INCLUDE_CALL=false -DCOMPILING_DPLYR -DRCPP_USING_UTF8_ERROR_STRING -DRCPP_USE_UNWIND_PROTECT -DBOOST_NO_AUTO_PTR -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/BH/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/plogr/include" -I"/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/Rcpp/include" -I/usr/local/include -fpic -g -O2 -c mutate.cpp -o mutate.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: *** [mutate.o] Error 4
/opt/R/3.6.0/lib/R/etc/Makeconf:176: recipe for target 'mutate.o' failed
ERROR: compilation failed for package ‘dplyr’
* removing ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.6/dplyr’
Warning in install.packages :
installation of package ‘dplyr’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpEwkCBA/downloaded_packages’
> library("dplyr")
Error in library("dplyr") : there is no package called ‘dplyr’