It means the package "devtools" couldn't be installed into the default R library folder and possibly couldn't use some dependent packages. Then I realized that I was running R as a normal user while the R base is installed by root. I tried many answers including the adopted one above, but I still couldn't solve the problem until I noticed another warning information "(as ‘lib’ is unspecified)". The same problem happened to me when I was trying to install "devtools" package on a new machine with Ubuntu 16.04 system. I've already installed libcurl4-gnutls-dev and libcurl4-openssl-dev and the libcurl version is 7.38.0.ĭoes anyone know a fix to this? Thanks ) Installation of package ‘devtools’ had non-zero exit status Had non-zero exit status 4: In install.packages("devtools") : Install.packages("devtools") : installation of package ‘rversions’ Installation of package ‘httr’ had non-zero exit status 3: In Non-zero exit status 2: In install.packages("devtools") : Install.packages("devtools") : installation of package ‘curl’ had ‘/tmp/RtmpD0yE63/downloaded_packages’ Warning messages: 1: In * removing ‘/path to/R/powerpc-unknown-linux-gnu-library/3.1/devtools’ * removing ‘/path to/R/powerpc-unknown-linux-gnu-library/3.1/rversions’ ERROR:ĭependencies ‘httr’, ‘rversions’ are not available for package * removing ‘/path to/R/powerpc-unknown-linux-gnu-library/3.1/httr’ ERROR: dependency ‘curl’ is not available for package ‘rversions’ * removing ‘/path to/R/powerpc-unknown-linux-gnu-library/3.1/curl’ ERROR: dependency ‘curl’ is not available for package ‘httr’ Undefined symbol: BSWAP_32 Error: loading failed Execution halted To/R/powerpc-unknown-linux-gnu-library/3.1/curl/libs/curl.so: To/R/powerpc-unknown-linux-gnu-library/3.1/curl/libs/curl.so': /path ** testing if installed package can be loaded Error in dyn.load(file, DLLpath = DLLpath. I'm trying to install devtools in a PowerPC with a R version 3.1.1 but failed at the end because the curl library.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |