error installing packages from rstudio

I need some assistance and i'm not sure this is in the correct section but if it needs to be moved please let me know. My company is running Rstudio version 1.2.5019 on RHEL 7 latest. We have installed Shiny but one of my users is attempting to install other packages and getting the following error. We don't have the option of remounting /tmp with exec permissions because of PCI. I am not as familiar with Rstudio-server so any and all help is greatly appreciated.

Do I need to give r/w/x permission to /usr/lib64/R ? I'd rather not.

$ sudo su - -c "R -e \"install.packages('devtools', repos='https://cran.rstudio.com/')\""
 
R version 3.6.0 (2019-04-26) -- "Planting of a Tree"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform: x86_64-redhat-linux-gnu (64-bit)
 
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
 
  Natural language support but running in an English locale
 
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
 
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
 
> install.packages('devtools', repos='https://cran.rstudio.com/')
Installing package into ‘/usr/lib64/R/library’
(as ‘lib’ is unspecified)
also installing the dependencies ‘httpuv’, ‘reshape2’, ‘ps’, ‘shiny’, ‘ggplot2’, ‘curl’, ‘fs’, ‘gh’, ‘processx’, ‘crosstalk’, ‘openssl’, ‘xopen’, ‘stringi’, ‘stringr’, ‘xml2’, ‘usethis’, ‘callr’, ‘covr’, ‘DT’, ‘git2r’, ‘httr’, ‘pkgbuild’, ‘pkgload’, ‘rcmdcheck’, ‘roxygen2’, ‘rversions’, ‘testthat’
 
trying URL 'https://cran.rstudio.com/src/contrib/httpuv_1.5.2.tar.gz'
Content type 'application/x-gzip' length 1763900 bytes (1.7 MB)
==================================================
downloaded 1.7 MB
 
trying URL 'https://cran.rstudio.com/src/contrib/reshape2_1.4.3.tar.gz'
Content type 'application/x-gzip' length 36405 bytes (35 KB)
==================================================
downloaded 35 KB
 
trying URL 'https://cran.rstudio.com/src/contrib/ps_1.3.0.tar.gz'
Content type 'application/x-gzip' length 261887 bytes (255 KB)
==================================================
downloaded 255 KB
 
trying URL 'https://cran.rstudio.com/src/contrib/shiny_1.4.0.tar.gz'
Content type 'application/x-gzip' length 3168035 bytes (3.0 MB)
==================================================
downloaded 3.0 MB
 
trying URL 'https://cran.rstudio.com/src/contrib/ggplot2_3.2.1.tar.gz'
Content type 'application/x-gzip' length 3204655 bytes (3.1 MB)
==================================================
downloaded 3.1 MB
 
trying URL 'https://cran.rstudio.com/src/contrib/curl_4.3.tar.gz'
Content type 'application/x-gzip' length 673779 bytes (657 KB)
==================================================
downloaded 657 KB
 
trying URL 'https://cran.rstudio.com/src/contrib/fs_1.3.1.tar.gz'
Content type 'application/x-gzip' length 812680 bytes (793 KB)
==================================================
downloaded 793 KB
 
trying URL 'https://cran.rstudio.com/src/contrib/gh_1.0.1.tar.gz'
Content type 'application/x-gzip' length 15513 bytes (15 KB)
==================================================
downloaded 15 KB
 
trying URL 'https://cran.rstudio.com/src/contrib/processx_3.4.1.tar.gz'
Content type 'application/x-gzip' length 123430 bytes (120 KB)
==================================================
downloaded 120 KB
 
trying URL 'https://cran.rstudio.com/src/contrib/crosstalk_1.0.0.tar.gz'
Content type 'application/x-gzip' length 563474 bytes (550 KB)
==================================================
downloaded 550 KB
 
trying URL 'https://cran.rstudio.com/src/contrib/openssl_1.4.1.tar.gz'
Content type 'application/x-gzip' length 1206885 bytes (1.2 MB)
==================================================
downloaded 1.2 MB
 
trying URL 'https://cran.rstudio.com/src/contrib/xopen_1.0.0.tar.gz'
Content type 'application/x-gzip' length 11221 bytes (10 KB)
==================================================
downloaded 10 KB
 
trying URL 'https://cran.rstudio.com/src/contrib/stringi_1.4.3.tar.gz'
Content type 'application/x-gzip' length 7290890 bytes (7.0 MB)
==================================================
downloaded 7.0 MB
 
trying URL 'https://cran.rstudio.com/src/contrib/stringr_1.4.0.tar.gz'
Content type 'application/x-gzip' length 135777 bytes (132 KB)
==================================================
downloaded 132 KB
 
trying URL 'https://cran.rstudio.com/src/contrib/xml2_1.2.2.tar.gz'
Content type 'application/x-gzip' length 261081 bytes (254 KB)
==================================================
downloaded 254 KB
 
trying URL 'https://cran.rstudio.com/src/contrib/usethis_1.5.1.tar.gz'
Content type 'application/x-gzip' length 620225 bytes (605 KB)
==================================================
downloaded 605 KB
 
trying URL 'https://cran.rstudio.com/src/contrib/callr_3.3.2.tar.gz'
Content type 'application/x-gzip' length 94404 bytes (92 KB)
==================================================
downloaded 92 KB
 
trying URL 'https://cran.rstudio.com/src/contrib/covr_3.4.0.tar.gz'
Content type 'application/x-gzip' length 144119 bytes (140 KB)
==================================================
downloaded 140 KB
 
trying URL 'https://cran.rstudio.com/src/contrib/DT_0.10.tar.gz'
Content type 'application/x-gzip' length 831499 bytes (812 KB)
==================================================
downloaded 812 KB
 
trying URL 'https://cran.rstudio.com/src/contrib/git2r_0.26.1.tar.gz'
Content type 'application/x-gzip' length 1214783 bytes (1.2 MB)
==================================================
downloaded 1.2 MB
 
trying URL 'https://cran.rstudio.com/src/contrib/httr_1.4.1.tar.gz'
Content type 'application/x-gzip' length 158465 bytes (154 KB)
==================================================
downloaded 154 KB
 
trying URL 'https://cran.rstudio.com/src/contrib/pkgbuild_1.0.6.tar.gz'
Content type 'application/x-gzip' length 29322 bytes (28 KB)
==================================================
downloaded 28 KB
 
trying URL 'https://cran.rstudio.com/src/contrib/pkgload_1.0.2.tar.gz'
Content type 'application/x-gzip' length 55605 bytes (54 KB)
==================================================
downloaded 54 KB
 
trying URL 'https://cran.rstudio.com/src/contrib/rcmdcheck_1.3.3.tar.gz'
Content type 'application/x-gzip' length 45380 bytes (44 KB)
==================================================
downloaded 44 KB
 
trying URL 'https://cran.rstudio.com/src/contrib/roxygen2_7.0.2.tar.gz'
Content type 'application/x-gzip' length 236652 bytes (231 KB)
==================================================
downloaded 231 KB
 
trying URL 'https://cran.rstudio.com/src/contrib/rversions_2.0.0.tar.gz'
Content type 'application/x-gzip' length 9722 bytes
==================================================
downloaded 9722 bytes
 
trying URL 'https://cran.rstudio.com/src/contrib/testthat_2.3.1.tar.gz'
Content type 'application/x-gzip' length 247984 bytes (242 KB)
==================================================
downloaded 242 KB
 
trying URL 'https://cran.rstudio.com/src/contrib/devtools_2.2.1.tar.gz'
Content type 'application/x-gzip' length 372273 bytes (363 KB)
==================================================
downloaded 363 KB
 
* installing *source* package ‘httpuv’ ...
** package ‘httpuv’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -Ilibuv/include -pthread -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -I"/usr/lib64/R/library/later/include" -I/usr/local/include -fvisibility=hidden -DSTRICT_R_HEADERS -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c RcppExports-legacy.cpp -o RcppExports-legacy.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -Ilibuv/include -pthread -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -I"/usr/lib64/R/library/later/include" -I/usr/local/include -fvisibility=hidden -DSTRICT_R_HEADERS -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c RcppExports.cpp -o RcppExports.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -Ilibuv/include -pthread -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -I"/usr/lib64/R/library/later/include" -I/usr/local/include -fvisibility=hidden -DSTRICT_R_HEADERS -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c callback.cpp -o callback.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -Ilibuv/include -pthread -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -I"/usr/lib64/R/library/later/include" -I/usr/local/include -fvisibility=hidden -DSTRICT_R_HEADERS -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c callbackqueue.cpp-o callbackqueue.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -Ilibuv/include -pthread -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -I"/usr/lib64/R/library/later/include" -I/usr/local/include -fvisibility=hidden -DSTRICT_R_HEADERS -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c filedatasource-unix.cpp -o filedatasource-unix.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -Ilibuv/include -pthread -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -I"/usr/lib64/R/library/later/include" -I/usr/local/include -fvisibility=hidden -DSTRICT_R_HEADERS -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c filedatasource-win.cpp -o filedatasource-win.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -Ilibuv/include -pthread -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -I"/usr/lib64/R/library/later/include" -I/usr/local/include -fvisibility=hidden -DSTRICT_R_HEADERS -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c fs.cpp -o fs.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -Ilibuv/include -pthread -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -I"/usr/lib64/R/library/later/include" -I/usr/local/include -fvisibility=hidden -DSTRICT_R_HEADERS -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c http.cpp -o http.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -Ilibuv/include -pthread -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -I"/usr/lib64/R/library/later/include" -I/usr/local/include -fvisibility=hidden -DSTRICT_R_HEADERS -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c httprequest.cpp -o httprequest.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -Ilibuv/include -pthread -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -I"/usr/lib64/R/library/later/include" -I/usr/local/include -fvisibility=hidden -DSTRICT_R_HEADERS -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c httpresponse.cpp -o httpresponse.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -Ilibuv/include -pthread -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -I"/usr/lib64/R/library/later/include" -I/usr/local/include -fvisibility=hidden -DSTRICT_R_HEADERS -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c httpuv.cpp -o httpuv.o
gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -Ilibuv/include -pthread -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -I"/usr/lib64/R/library/later/include" -I/usr/local/include -fvisibility=hidden -DSTRICT_R_HEADERS -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c md5.c -o md5.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -Ilibuv/include -pthread -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -I"/usr/lib64/R/library/later/include" -I/usr/local/include -fvisibility=hidden -DSTRICT_R_HEADERS -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c mime.cpp -o mime.o
gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -Ilibuv/include -pthread -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -I"/usr/lib64/R/library/later/include" -I/usr/local/include -fvisibility=hidden -DSTRICT_R_HEADERS -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c set_invalid_parameter.c -o set_invalid_parameter.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -Ilibuv/include -pthread -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -I"/usr/lib64/R/library/later/include" -I/usr/local/include -fvisibility=hidden -DSTRICT_R_HEADERS -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c socket.cpp -o socket.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -Ilibuv/include -pthread -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -I"/usr/lib64/R/library/later/include" -I/usr/local/include -fvisibility=hidden -DSTRICT_R_HEADERS -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c staticpath.cpp -ostaticpath.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -Ilibuv/include -pthread -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -I"/usr/lib64/R/library/later/include" -I/usr/local/include -fvisibility=hidden -DSTRICT_R_HEADERS -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c thread.cpp -o thread.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -Ilibuv/include -pthread -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -I"/usr/lib64/R/library/later/include" -I/usr/local/include -fvisibility=hidden -DSTRICT_R_HEADERS -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c utils.cpp -o utils.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -Ilibuv/include -pthread -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -I"/usr/lib64/R/library/later/include" -I/usr/local/include -fvisibility=hidden -DSTRICT_R_HEADERS -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c uvutil.cpp -o uvutil.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -Ilibuv/include -pthread -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -I"/usr/lib64/R/library/later/include" -I/usr/local/include -fvisibility=hidden -DSTRICT_R_HEADERS -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c webapplication.cpp -o webapplication.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -Ilibuv/include -pthread -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -I"/usr/lib64/R/library/later/include" -I/usr/local/include -fvisibility=hidden -DSTRICT_R_HEADERS -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c websockets-base.cpp -o websockets-base.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -Ilibuv/include -pthread -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -I"/usr/lib64/R/library/later/include" -I/usr/local/include -fvisibility=hidden -DSTRICT_R_HEADERS -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c websockets-hixie76.cpp -o websockets-hixie76.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -Ilibuv/include -pthread -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -I"/usr/lib64/R/library/later/include" -I/usr/local/include -fvisibility=hidden -DSTRICT_R_HEADERS -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c websockets-hybi03.cpp -o websockets-hybi03.o
websockets-hybi03.cpp: In member function ‘virtual void WebSocketProto_HyBi03::handshake(const string&, const RequestHeaders&, char**, size_t*, ResponseHeaders*, std::vector<unsigned char>*) const’:
websockets-hybi03.cpp:66:41: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   *reinterpret_cast<uint32_t*>(handshake) = key1;
                                         ^
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -Ilibuv/include -pthread -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -I"/usr/lib64/R/library/later/include" -I/usr/local/include -fvisibility=hidden -DSTRICT_R_HEADERS -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c websockets-ietf.cpp -o websockets-ietf.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -Ilibuv/include -pthread -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -I"/usr/lib64/R/library/later/include" -I/usr/local/include -fvisibility=hidden -DSTRICT_R_HEADERS -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c websockets.cpp -owebsockets.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -Ilibuv/include -pthread -I"/usr/lib64/R/library/Rcpp/include" -I"/usr/lib64/R/library/BH/include" -I"/usr/lib64/R/library/later/include" -I/usr/local/include -fvisibility=hidden -DSTRICT_R_HEADERS -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c winutils.cpp -o winutils.o
cp -p -f libuv/m4/lt_obsolete.m4 libuv/m4/lt~obsolete.m4
(cd libuv \
        && touch aclocal.m4 \
        && touch -r aclocal.m4 configure Makefile.in \
        && chmod +x configure \
        && CC="gcc -m64 -std=gnu99" CFLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -fpic -fvisibility=hidden" AR="ar" RANLIB="ranlib" LDFLAGS="-Wl,-z,relro " ./configure "--quiet")
/bin/sh: line 4: ./configure: Permission denied
make: *** [libuv/Makefile] Error 126
ERROR: compilation failed for package ‘httpuv’
* removing ‘/usr/lib64/R/library/httpuv’
* installing *source* package ‘ps’ ...
** package ‘ps’ successfully unpacked and MD5 sums checked
** using staged installation
ERROR: 'configure' exists but is not executable -- see the 'R Installation and Administration Manual'
* removing ‘/usr/lib64/R/library/ps’
* installing *source* package ‘curl’ ...
** package ‘curl’ successfully unpacked and MD5 sums checked
** using staged installation
ERROR: 'configure' exists but is not executable -- see the 'R Installation and Administration Manual'
* removing ‘/usr/lib64/R/library/curl’
* installing *source* package ‘fs’ ...
** package ‘fs’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -I./libuv/include -I. -pthread -I"/usr/lib64/R/library/Rcpp/include" -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c id.cc -o id.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -I./libuv/include -I. -pthread -I"/usr/lib64/R/library/Rcpp/include" -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c file.cc -o file.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -I./libuv/include -I. -pthread -I"/usr/lib64/R/library/Rcpp/include" -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c utils.cc -o utils.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -I./libuv/include -I. -pthread -I"/usr/lib64/R/library/Rcpp/include" -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c link.cc -o link.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -I./libuv/include -I. -pthread -I"/usr/lib64/R/library/Rcpp/include" -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c path.cc -o path.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -I./libuv/include -I. -pthread -I"/usr/lib64/R/library/Rcpp/include" -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c fs.cc -o fs.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -I./libuv/include -I. -pthread -I"/usr/lib64/R/library/Rcpp/include" -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c dir.cc -o dir.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -I./libuv/include -I. -pthread -I"/usr/lib64/R/library/Rcpp/include" -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c error.cc -o error.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -I./libuv/include -I. -pthread -I"/usr/lib64/R/library/Rcpp/include" -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c unix/getmode.cc -o unix/getmode.o
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -I./libuv/include -I. -pthread -I"/usr/lib64/R/library/Rcpp/include" -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c RcppExports.cpp -o RcppExports.o
gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -I./libuv/include -I. -pthread -I"/usr/lib64/R/library/Rcpp/include" -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c bsd/setmode.c -o bsd/setmode.o
gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -I./libuv/include -I. -pthread -I"/usr/lib64/R/library/Rcpp/include" -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c bsd/strmode.c -o bsd/strmode.o
gcc -m64 -std=gnu99 -I"/usr/include/R" -DNDEBUG -I./libuv/include -I. -pthread -I"/usr/lib64/R/library/Rcpp/include" -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c bsd/reallocarray.c -o bsd/reallocarray.o
cp -p -f libuv/m4/lt_obsolete.m4 libuv/m4/lt~obsolete.m4
(cd libuv \
        && touch aclocal.m4 \
        && touch -r aclocal.m4 configure Makefile.in \
&& CC="gcc -m64 -std=gnu99" CFLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -fpic -fvisibility=hidden" AR="ar" RANLIB="ranlib" LDFLAGS="-Wl,-z,relro " ./configure --quiet)
/bin/sh: line 3: ./configure: Permission denied
make: *** [libuv/Makefile] Error 126
ERROR: compilation failed for package ‘fs’
* removing ‘/usr/lib64/R/library/fs’
* installing *source* package ‘openssl’ ...
** package ‘openssl’ successfully unpacked and MD5 sums checked
** using staged installation
ERROR: 'configure' exists but is not executable -- see the 'R Installation and Administration Manual'
* removing ‘/usr/lib64/R/library/openssl’
* installing *source* package ‘stringi’ ...
** package ‘stringi’ successfully unpacked and MD5 sums checked
** using staged installation
ERROR: 'configure' exists but is not executable -- see the 'R Installation and Administration Manual'
* removing ‘/usr/lib64/R/library/stringi’
* installing *source* package ‘xml2’ ...
** package ‘xml2’ successfully unpacked and MD5 sums checked
** using staged installation
ERROR: 'configure' exists but is not executable -- see the 'R Installation and Administration Manual'
* removing ‘/usr/lib64/R/library/xml2’
* installing *source* package ‘git2r’ ...
** package ‘git2r’ successfully unpacked and MD5 sums checked
** using staged installation
ERROR: 'configure' exists but is not executable -- see the 'R Installation and Administration Manual'
* removing ‘/usr/lib64/R/library/git2r’
ERROR: dependency ‘httpuv’ is not available for package ‘shiny’
* removing ‘/usr/lib64/R/library/shiny’
ERROR: dependency ‘ps’ is not available for package ‘processx’
* removing ‘/usr/lib64/R/library/processx’
ERROR: dependency ‘stringi’ is not available for package ‘stringr’
* removing ‘/usr/lib64/R/library/stringr’
ERROR: dependencies ‘curl’, ‘openssl’ are not available for package ‘httr’
* removing ‘/usr/lib64/R/library/httr’
ERROR: dependencies ‘curl’, ‘xml2’ are not available for package ‘rversions’
* removing ‘/usr/lib64/R/library/rversions’
ERROR: dependency ‘stringr’ is not available for package ‘reshape2’
* removing ‘/usr/lib64/R/library/reshape2’
ERROR: dependency ‘httr’ is not available for package ‘gh’
* removing ‘/usr/lib64/R/library/gh’
ERROR: dependency ‘processx’ is not available for package ‘xopen’
* removing ‘/usr/lib64/R/library/xopen’
ERROR: dependency ‘processx’ is not available for package ‘callr’
* removing ‘/usr/lib64/R/library/callr’
ERROR: dependency ‘httr’ is not available for package ‘covr’
* removing ‘/usr/lib64/R/library/covr’
ERROR: dependency ‘reshape2’ is not available for package ‘ggplot2’
* removing ‘/usr/lib64/R/library/ggplot2’
ERROR: dependencies ‘curl’, ‘fs’, ‘gh’, ‘git2r’ are not available for package ‘usethis’
* removing ‘/usr/lib64/R/library/usethis’
ERROR: dependency ‘callr’ is not available for package ‘pkgbuild’
* removing ‘/usr/lib64/R/library/pkgbuild’
ERROR: dependencies ‘shiny’, ‘ggplot2’ are not available for package ‘crosstalk’
* removing ‘/usr/lib64/R/library/crosstalk’
ERROR: dependency ‘pkgbuild’ is not available for package ‘pkgload’
* removing ‘/usr/lib64/R/library/pkgload’
ERROR: dependencies ‘callr’, ‘pkgbuild’, ‘xopen’ are not available for package ‘rcmdcheck’
* removing ‘/usr/lib64/R/library/rcmdcheck’
ERROR: dependency ‘crosstalk’ is not available for package ‘DT’
* removing ‘/usr/lib64/R/library/DT’
ERROR: dependencies ‘pkgload’, ‘stringi’, ‘stringr’, ‘xml2’ are not available for package ‘roxygen2’
* removing ‘/usr/lib64/R/library/roxygen2’
ERROR: dependency ‘pkgload’ is not available for package ‘testthat’
* removing ‘/usr/lib64/R/library/testthat’
ERROR: dependencies ‘usethis’, ‘callr’, ‘covr’, ‘DT’, ‘git2r’, ‘httr’, ‘pkgbuild’, ‘pkgload’, ‘rcmdcheck’,‘roxygen2’, ‘rversions’, ‘testthat’ are not available for package ‘devtools’
* removing ‘/usr/lib64/R/library/devtools’
 
The downloaded source packages are in
        ‘/tmp/RtmpqhaPUx/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
There were 28 warnings (use warnings() to see them)

This seems abnormal to me. Have you set your umask or otherwise configured your system so that certain files are not marked as executable?

Hi All,

New here. I have problem with library(tidyverse) package install... Can anyone help with some ideas?

  • the R to the latest version updated
  • R Tools wizard (what to do with it next?) updated
  • small packages (Rlang, scales, etc) installed
    still received these error message:
    quote:

library(tidyverse)
Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
namespace ‘rlang’ 0.4.0 is already loaded, but >= 0.4.1 is required

Thanks!

We got it working. Thank you!

Would you mind sharing what the issue was, and how you fixed it?

1 Like