Cant install dev-tools package in R











up vote
1
down vote

favorite












I cant seem to install devtools package in R. I've tried the option with dependencies=True but that fails as well.



I've also tried installing 'ps' as per the error logs below, that seems to install fine. But when I try and install devtools after installing 'ps' it gives me the same error.



Can anyone advise as to how I can fix this?



> install.packages('devtools')
Installing package into ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2’
(as ‘lib’ is unspecified)
also installing the dependencies ‘processx’, ‘xopen’, ‘callr’, ‘pkgbuild’, ‘pkgload’, ‘rcmdcheck’

trying URL 'https://cran.rstudio.com/src/contrib/processx_3.2.0.tar.gz'
Content type 'application/x-gzip' length 97959 bytes (95 KB)
==================================================
downloaded 95 KB

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/callr_3.0.0.tar.gz'
Content type 'application/x-gzip' length 36365 bytes (35 KB)
==================================================
downloaded 35 KB

trying URL 'https://cran.rstudio.com/src/contrib/pkgbuild_1.0.2.tar.gz'
Content type 'application/x-gzip' length 25264 bytes (24 KB)
==================================================
downloaded 24 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.2.tar.gz'
Content type 'application/x-gzip' length 1408582 bytes (1.3 MB)
==================================================
downloaded 1.3 MB

trying URL 'https://cran.rstudio.com/src/contrib/devtools_2.0.1.tar.gz'
Content type 'application/x-gzip' length 388953 bytes (379 KB)
==================================================
downloaded 379 KB

* installing *source* package ‘processx’ ...
** package ‘processx’ successfully unpacked and MD5 sums checked
** libs
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall tools/px.c -o tools/px
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g supervisor/supervisor.c supervisor/utils.c
-o supervisor/supervisor
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c init.c -o init.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c poll.c -o poll.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c processx-connection.c -o processx-connection.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c processx-vector.c -o processx-vector.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c create-time.c -o create-time.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c unix/childlist.c -o unix/childlist.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c unix/connection.c -o unix/connection.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c unix/processx.c -o unix/processx.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c unix/sigchld.c -o unix/sigchld.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c unix/utils.c -o unix/utils.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c unix/named_pipe.c -o unix/named_pipe.o
gcc -shared -L/usr/local/lib/R/lib -L/usr/local/lib -o processx.so init.o poll.o processx-connection.o processx-vector.o create-time.o unix/childlist.o unix/connection.o unix/processx.o unix/sigchld.o unix/utils.o unix/named_pipe.o -L/usr/local/lib/R/lib -lR
installing via 'install.libs.R' to /home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/processx
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Error: package or namespace load failed for ‘processx’:
.onLoad failed in loadNamespace() for 'processx', details:
call: loadNamespace(name)
error: there is no package called ‘ps’
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/processx’
Warning in install.packages :
installation of package ‘processx’ had non-zero exit status
ERROR: dependency ‘processx’ is not available for package ‘xopen’
* removing ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/xopen’
Warning in install.packages :
installation of package ‘xopen’ had non-zero exit status
ERROR: dependency ‘processx’ is not available for package ‘callr’
* removing ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/callr’
Warning in install.packages :
installation of package ‘callr’ had non-zero exit status
ERROR: dependency ‘callr’ is not available for package ‘pkgbuild’
* removing ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/pkgbuild’
Warning in install.packages :
installation of package ‘pkgbuild’ had non-zero exit status
ERROR: dependency ‘pkgbuild’ is not available for package ‘pkgload’
* removing ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/pkgload’
Warning in install.packages :
installation of package ‘pkgload’ had non-zero exit status
ERROR: dependencies ‘callr’, ‘pkgbuild’, ‘xopen’ are not available for package ‘rcmdcheck’
* removing ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/rcmdcheck’
Warning in install.packages :
installation of package ‘rcmdcheck’ had non-zero exit status
ERROR: dependencies ‘callr’, ‘pkgbuild’, ‘pkgload’, ‘rcmdcheck’ are not available for package ‘devtools’
* removing ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/devtools’
Warning in install.packages :
installation of package ‘devtools’ had non-zero exit status

The downloaded source packages are in
‘/tmp/RtmpvzJcng/downloaded_packages’









share|improve this question






















  • I get this: "Oops! That page doesn’t exist or is private." Do I need to be logged in or something?
    – Falc
    yesterday






  • 1




    community.rstudio.com/t/…. You need to check the .Rprofile to rule out any bad paths.
    – karma4917
    yesterday












  • Thanks I managed to fix it my nuking the folder and restarting from scratch. At least it was a problem with the project and not my installation of R.
    – Falc
    yesterday










  • No problem. Is it working now?
    – karma4917
    yesterday















up vote
1
down vote

favorite












I cant seem to install devtools package in R. I've tried the option with dependencies=True but that fails as well.



I've also tried installing 'ps' as per the error logs below, that seems to install fine. But when I try and install devtools after installing 'ps' it gives me the same error.



Can anyone advise as to how I can fix this?



> install.packages('devtools')
Installing package into ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2’
(as ‘lib’ is unspecified)
also installing the dependencies ‘processx’, ‘xopen’, ‘callr’, ‘pkgbuild’, ‘pkgload’, ‘rcmdcheck’

trying URL 'https://cran.rstudio.com/src/contrib/processx_3.2.0.tar.gz'
Content type 'application/x-gzip' length 97959 bytes (95 KB)
==================================================
downloaded 95 KB

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/callr_3.0.0.tar.gz'
Content type 'application/x-gzip' length 36365 bytes (35 KB)
==================================================
downloaded 35 KB

trying URL 'https://cran.rstudio.com/src/contrib/pkgbuild_1.0.2.tar.gz'
Content type 'application/x-gzip' length 25264 bytes (24 KB)
==================================================
downloaded 24 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.2.tar.gz'
Content type 'application/x-gzip' length 1408582 bytes (1.3 MB)
==================================================
downloaded 1.3 MB

trying URL 'https://cran.rstudio.com/src/contrib/devtools_2.0.1.tar.gz'
Content type 'application/x-gzip' length 388953 bytes (379 KB)
==================================================
downloaded 379 KB

* installing *source* package ‘processx’ ...
** package ‘processx’ successfully unpacked and MD5 sums checked
** libs
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall tools/px.c -o tools/px
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g supervisor/supervisor.c supervisor/utils.c
-o supervisor/supervisor
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c init.c -o init.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c poll.c -o poll.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c processx-connection.c -o processx-connection.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c processx-vector.c -o processx-vector.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c create-time.c -o create-time.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c unix/childlist.c -o unix/childlist.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c unix/connection.c -o unix/connection.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c unix/processx.c -o unix/processx.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c unix/sigchld.c -o unix/sigchld.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c unix/utils.c -o unix/utils.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c unix/named_pipe.c -o unix/named_pipe.o
gcc -shared -L/usr/local/lib/R/lib -L/usr/local/lib -o processx.so init.o poll.o processx-connection.o processx-vector.o create-time.o unix/childlist.o unix/connection.o unix/processx.o unix/sigchld.o unix/utils.o unix/named_pipe.o -L/usr/local/lib/R/lib -lR
installing via 'install.libs.R' to /home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/processx
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Error: package or namespace load failed for ‘processx’:
.onLoad failed in loadNamespace() for 'processx', details:
call: loadNamespace(name)
error: there is no package called ‘ps’
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/processx’
Warning in install.packages :
installation of package ‘processx’ had non-zero exit status
ERROR: dependency ‘processx’ is not available for package ‘xopen’
* removing ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/xopen’
Warning in install.packages :
installation of package ‘xopen’ had non-zero exit status
ERROR: dependency ‘processx’ is not available for package ‘callr’
* removing ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/callr’
Warning in install.packages :
installation of package ‘callr’ had non-zero exit status
ERROR: dependency ‘callr’ is not available for package ‘pkgbuild’
* removing ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/pkgbuild’
Warning in install.packages :
installation of package ‘pkgbuild’ had non-zero exit status
ERROR: dependency ‘pkgbuild’ is not available for package ‘pkgload’
* removing ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/pkgload’
Warning in install.packages :
installation of package ‘pkgload’ had non-zero exit status
ERROR: dependencies ‘callr’, ‘pkgbuild’, ‘xopen’ are not available for package ‘rcmdcheck’
* removing ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/rcmdcheck’
Warning in install.packages :
installation of package ‘rcmdcheck’ had non-zero exit status
ERROR: dependencies ‘callr’, ‘pkgbuild’, ‘pkgload’, ‘rcmdcheck’ are not available for package ‘devtools’
* removing ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/devtools’
Warning in install.packages :
installation of package ‘devtools’ had non-zero exit status

The downloaded source packages are in
‘/tmp/RtmpvzJcng/downloaded_packages’









share|improve this question






















  • I get this: "Oops! That page doesn’t exist or is private." Do I need to be logged in or something?
    – Falc
    yesterday






  • 1




    community.rstudio.com/t/…. You need to check the .Rprofile to rule out any bad paths.
    – karma4917
    yesterday












  • Thanks I managed to fix it my nuking the folder and restarting from scratch. At least it was a problem with the project and not my installation of R.
    – Falc
    yesterday










  • No problem. Is it working now?
    – karma4917
    yesterday













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I cant seem to install devtools package in R. I've tried the option with dependencies=True but that fails as well.



I've also tried installing 'ps' as per the error logs below, that seems to install fine. But when I try and install devtools after installing 'ps' it gives me the same error.



Can anyone advise as to how I can fix this?



> install.packages('devtools')
Installing package into ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2’
(as ‘lib’ is unspecified)
also installing the dependencies ‘processx’, ‘xopen’, ‘callr’, ‘pkgbuild’, ‘pkgload’, ‘rcmdcheck’

trying URL 'https://cran.rstudio.com/src/contrib/processx_3.2.0.tar.gz'
Content type 'application/x-gzip' length 97959 bytes (95 KB)
==================================================
downloaded 95 KB

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/callr_3.0.0.tar.gz'
Content type 'application/x-gzip' length 36365 bytes (35 KB)
==================================================
downloaded 35 KB

trying URL 'https://cran.rstudio.com/src/contrib/pkgbuild_1.0.2.tar.gz'
Content type 'application/x-gzip' length 25264 bytes (24 KB)
==================================================
downloaded 24 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.2.tar.gz'
Content type 'application/x-gzip' length 1408582 bytes (1.3 MB)
==================================================
downloaded 1.3 MB

trying URL 'https://cran.rstudio.com/src/contrib/devtools_2.0.1.tar.gz'
Content type 'application/x-gzip' length 388953 bytes (379 KB)
==================================================
downloaded 379 KB

* installing *source* package ‘processx’ ...
** package ‘processx’ successfully unpacked and MD5 sums checked
** libs
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall tools/px.c -o tools/px
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g supervisor/supervisor.c supervisor/utils.c
-o supervisor/supervisor
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c init.c -o init.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c poll.c -o poll.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c processx-connection.c -o processx-connection.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c processx-vector.c -o processx-vector.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c create-time.c -o create-time.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c unix/childlist.c -o unix/childlist.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c unix/connection.c -o unix/connection.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c unix/processx.c -o unix/processx.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c unix/sigchld.c -o unix/sigchld.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c unix/utils.c -o unix/utils.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c unix/named_pipe.c -o unix/named_pipe.o
gcc -shared -L/usr/local/lib/R/lib -L/usr/local/lib -o processx.so init.o poll.o processx-connection.o processx-vector.o create-time.o unix/childlist.o unix/connection.o unix/processx.o unix/sigchld.o unix/utils.o unix/named_pipe.o -L/usr/local/lib/R/lib -lR
installing via 'install.libs.R' to /home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/processx
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Error: package or namespace load failed for ‘processx’:
.onLoad failed in loadNamespace() for 'processx', details:
call: loadNamespace(name)
error: there is no package called ‘ps’
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/processx’
Warning in install.packages :
installation of package ‘processx’ had non-zero exit status
ERROR: dependency ‘processx’ is not available for package ‘xopen’
* removing ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/xopen’
Warning in install.packages :
installation of package ‘xopen’ had non-zero exit status
ERROR: dependency ‘processx’ is not available for package ‘callr’
* removing ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/callr’
Warning in install.packages :
installation of package ‘callr’ had non-zero exit status
ERROR: dependency ‘callr’ is not available for package ‘pkgbuild’
* removing ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/pkgbuild’
Warning in install.packages :
installation of package ‘pkgbuild’ had non-zero exit status
ERROR: dependency ‘pkgbuild’ is not available for package ‘pkgload’
* removing ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/pkgload’
Warning in install.packages :
installation of package ‘pkgload’ had non-zero exit status
ERROR: dependencies ‘callr’, ‘pkgbuild’, ‘xopen’ are not available for package ‘rcmdcheck’
* removing ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/rcmdcheck’
Warning in install.packages :
installation of package ‘rcmdcheck’ had non-zero exit status
ERROR: dependencies ‘callr’, ‘pkgbuild’, ‘pkgload’, ‘rcmdcheck’ are not available for package ‘devtools’
* removing ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/devtools’
Warning in install.packages :
installation of package ‘devtools’ had non-zero exit status

The downloaded source packages are in
‘/tmp/RtmpvzJcng/downloaded_packages’









share|improve this question













I cant seem to install devtools package in R. I've tried the option with dependencies=True but that fails as well.



I've also tried installing 'ps' as per the error logs below, that seems to install fine. But when I try and install devtools after installing 'ps' it gives me the same error.



Can anyone advise as to how I can fix this?



> install.packages('devtools')
Installing package into ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2’
(as ‘lib’ is unspecified)
also installing the dependencies ‘processx’, ‘xopen’, ‘callr’, ‘pkgbuild’, ‘pkgload’, ‘rcmdcheck’

trying URL 'https://cran.rstudio.com/src/contrib/processx_3.2.0.tar.gz'
Content type 'application/x-gzip' length 97959 bytes (95 KB)
==================================================
downloaded 95 KB

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/callr_3.0.0.tar.gz'
Content type 'application/x-gzip' length 36365 bytes (35 KB)
==================================================
downloaded 35 KB

trying URL 'https://cran.rstudio.com/src/contrib/pkgbuild_1.0.2.tar.gz'
Content type 'application/x-gzip' length 25264 bytes (24 KB)
==================================================
downloaded 24 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.2.tar.gz'
Content type 'application/x-gzip' length 1408582 bytes (1.3 MB)
==================================================
downloaded 1.3 MB

trying URL 'https://cran.rstudio.com/src/contrib/devtools_2.0.1.tar.gz'
Content type 'application/x-gzip' length 388953 bytes (379 KB)
==================================================
downloaded 379 KB

* installing *source* package ‘processx’ ...
** package ‘processx’ successfully unpacked and MD5 sums checked
** libs
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall tools/px.c -o tools/px
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g supervisor/supervisor.c supervisor/utils.c
-o supervisor/supervisor
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c init.c -o init.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c poll.c -o poll.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c processx-connection.c -o processx-connection.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c processx-vector.c -o processx-vector.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c create-time.c -o create-time.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c unix/childlist.c -o unix/childlist.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c unix/connection.c -o unix/connection.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c unix/processx.c -o unix/processx.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c unix/sigchld.c -o unix/sigchld.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c unix/utils.c -o unix/utils.o
gcc -I/usr/local/lib/R/include -DNDEBUG -I/usr/local/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c unix/named_pipe.c -o unix/named_pipe.o
gcc -shared -L/usr/local/lib/R/lib -L/usr/local/lib -o processx.so init.o poll.o processx-connection.o processx-vector.o create-time.o unix/childlist.o unix/connection.o unix/processx.o unix/sigchld.o unix/utils.o unix/named_pipe.o -L/usr/local/lib/R/lib -lR
installing via 'install.libs.R' to /home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/processx
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Error: package or namespace load failed for ‘processx’:
.onLoad failed in loadNamespace() for 'processx', details:
call: loadNamespace(name)
error: there is no package called ‘ps’
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/processx’
Warning in install.packages :
installation of package ‘processx’ had non-zero exit status
ERROR: dependency ‘processx’ is not available for package ‘xopen’
* removing ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/xopen’
Warning in install.packages :
installation of package ‘xopen’ had non-zero exit status
ERROR: dependency ‘processx’ is not available for package ‘callr’
* removing ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/callr’
Warning in install.packages :
installation of package ‘callr’ had non-zero exit status
ERROR: dependency ‘callr’ is not available for package ‘pkgbuild’
* removing ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/pkgbuild’
Warning in install.packages :
installation of package ‘pkgbuild’ had non-zero exit status
ERROR: dependency ‘pkgbuild’ is not available for package ‘pkgload’
* removing ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/pkgload’
Warning in install.packages :
installation of package ‘pkgload’ had non-zero exit status
ERROR: dependencies ‘callr’, ‘pkgbuild’, ‘xopen’ are not available for package ‘rcmdcheck’
* removing ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/rcmdcheck’
Warning in install.packages :
installation of package ‘rcmdcheck’ had non-zero exit status
ERROR: dependencies ‘callr’, ‘pkgbuild’, ‘pkgload’, ‘rcmdcheck’ are not available for package ‘devtools’
* removing ‘/home/user/pq-tool/packrat/lib/x86_64-pc-linux-gnu/3.4.2/devtools’
Warning in install.packages :
installation of package ‘devtools’ had non-zero exit status

The downloaded source packages are in
‘/tmp/RtmpvzJcng/downloaded_packages’






r devtools






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked yesterday









Falc

437




437












  • I get this: "Oops! That page doesn’t exist or is private." Do I need to be logged in or something?
    – Falc
    yesterday






  • 1




    community.rstudio.com/t/…. You need to check the .Rprofile to rule out any bad paths.
    – karma4917
    yesterday












  • Thanks I managed to fix it my nuking the folder and restarting from scratch. At least it was a problem with the project and not my installation of R.
    – Falc
    yesterday










  • No problem. Is it working now?
    – karma4917
    yesterday


















  • I get this: "Oops! That page doesn’t exist or is private." Do I need to be logged in or something?
    – Falc
    yesterday






  • 1




    community.rstudio.com/t/…. You need to check the .Rprofile to rule out any bad paths.
    – karma4917
    yesterday












  • Thanks I managed to fix it my nuking the folder and restarting from scratch. At least it was a problem with the project and not my installation of R.
    – Falc
    yesterday










  • No problem. Is it working now?
    – karma4917
    yesterday
















I get this: "Oops! That page doesn’t exist or is private." Do I need to be logged in or something?
– Falc
yesterday




I get this: "Oops! That page doesn’t exist or is private." Do I need to be logged in or something?
– Falc
yesterday




1




1




community.rstudio.com/t/…. You need to check the .Rprofile to rule out any bad paths.
– karma4917
yesterday






community.rstudio.com/t/…. You need to check the .Rprofile to rule out any bad paths.
– karma4917
yesterday














Thanks I managed to fix it my nuking the folder and restarting from scratch. At least it was a problem with the project and not my installation of R.
– Falc
yesterday




Thanks I managed to fix it my nuking the folder and restarting from scratch. At least it was a problem with the project and not my installation of R.
– Falc
yesterday












No problem. Is it working now?
– karma4917
yesterday




No problem. Is it working now?
– karma4917
yesterday

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53265269%2fcant-install-dev-tools-package-in-r%23new-answer', 'question_page');
}
);

Post as a guest





































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53265269%2fcant-install-dev-tools-package-in-r%23new-answer', 'question_page');
}
);

Post as a guest




















































































Popular posts from this blog

How to change which sound is reproduced for terminal bell?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Can I use Tabulator js library in my java Spring + Thymeleaf project?