Hello,
I've been using RStudio for only a few weeks and at first everything was going fine. But last week I had to format my laptop and now I can't install any packages.
(I used Windows 8, now its Linux Mint 19.3. And my version of RStudio is 1.2.5033).
I get tons of error messages, like "Warning in install.packages : installation of package ‘tibble’ had non-zero exit status". In the end, it says "The downloaded source packages are in ‘/tmp/RtmpoKYSPa/downloaded_packages’" (the complete output is copyed below)
It happens not only with "readr" but with every package I try to install.
Can anybody help me?
Here is the complete console output I get with readr specifically:
> install.packages("readr")
Installing package into ‘/home/raquel/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
also installing the dependencies ‘glue’, ‘utf8’, ‘ellipsis’, ‘digest’, ‘cli’, ‘fansi’, ‘pillar’, ‘rlang’, ‘vctrs’, ‘Rcpp’, ‘tibble’, ‘hms’
tentando a URL 'https://cloud.r-project.org/src/contrib/glue_1.3.1.tar.gz'
Content type 'application/x-gzip' length 122950 bytes (120 KB)
==================================================
downloaded 120 KB
tentando a URL 'https://cloud.r-project.org/src/contrib/utf8_1.1.4.tar.gz'
Content type 'application/x-gzip' length 218882 bytes (213 KB)
==================================================
downloaded 213 KB
tentando a URL 'https://cloud.r-project.org/src/contrib/ellipsis_0.3.0.tar.gz'
Content type 'application/x-gzip' length 7371 bytes
==================================================
downloaded 7371 bytes
tentando a URL 'https://cloud.r-project.org/src/contrib/digest_0.6.24.tar.gz'
Content type 'application/x-gzip' length 145526 bytes (142 KB)
==================================================
downloaded 142 KB
tentando a URL 'https://cloud.r-project.org/src/contrib/cli_2.0.1.tar.gz'
Content type 'application/x-gzip' length 111914 bytes (109 KB)
==================================================
downloaded 109 KB
tentando a URL 'https://cloud.r-project.org/src/contrib/fansi_0.4.1.tar.gz'
Content type 'application/x-gzip' length 270906 bytes (264 KB)
==================================================
downloaded 264 KB
tentando a URL 'https://cloud.r-project.org/src/contrib/pillar_1.4.3.tar.gz'
Content type 'application/x-gzip' length 230874 bytes (225 KB)
==================================================
downloaded 225 KB
tentando a URL 'https://cloud.r-project.org/src/contrib/rlang_0.4.4.tar.gz'
Content type 'application/x-gzip' length 813413 bytes (794 KB)
==================================================
downloaded 794 KB
tentando a URL 'https://cloud.r-project.org/src/contrib/vctrs_0.2.2.tar.gz'
Content type 'application/x-gzip' length 721926 bytes (705 KB)
==================================================
downloaded 705 KB
tentando a URL 'https://cloud.r-project.org/src/contrib/Rcpp_1.0.3.tar.gz'
Content type 'application/x-gzip' length 2749025 bytes (2.6 MB)
==================================================
downloaded 2.6 MB
tentando a URL 'https://cloud.r-project.org/src/contrib/tibble_2.1.3.tar.gz'
Content type 'application/x-gzip' length 310774 bytes (303 KB)
==================================================
downloaded 303 KB
tentando a URL 'https://cloud.r-project.org/src/contrib/hms_0.5.3.tar.gz'
Content type 'application/x-gzip' length 134669 bytes (131 KB)
==================================================
downloaded 131 KB
tentando a URL 'https://cloud.r-project.org/src/contrib/readr_1.3.1.tar.gz'
Content type 'application/x-gzip' length 268853 bytes (262 KB)
==================================================
downloaded 262 KB
* installing *source* package ‘glue’ ...
** package ‘glue’ successfully unpacked and MD5 sums checked
** libs
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c glue.c -o glue.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c init.c -o init.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c trim.c -o trim.o
g++ -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o glue.so glue.o init.o trim.o -L/usr/lib/R/lib -lR
/bin/bash: linha 2: g++: comando não encontrado
/usr/share/R/share/make/shlib.mk:6: recipe for target 'glue.so' failed
make: *** [glue.so] Error 127
ERROR: compilation failed for package ‘glue’
* removing ‘/home/raquel/R/x86_64-pc-linux-gnu-library/3.4/glue’
Warning in install.packages :
installation of package ‘glue’ had non-zero exit status
* installing *source* package ‘utf8’ ...
** package ‘utf8’ successfully unpacked and MD5 sums checked
** libs
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -Iutf8lite/src -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c as_utf8.c -o as_utf8.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -Iutf8lite/src -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c bytes.c -o bytes.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -Iutf8lite/src -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c context.c -o context.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -Iutf8lite/src -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c init.c -o init.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -Iutf8lite/src -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c render.c -o render.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -Iutf8lite/src -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c render_table.c -o render_table.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -Iutf8lite/src -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c string.c -o string.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -Iutf8lite/src -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c text.c -o text.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -Iutf8lite/src -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c utf8_encode.c -o utf8_encode.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -Iutf8lite/src -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c utf8_format.c -o utf8_format.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -Iutf8lite/src -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c utf8_normalize.c -o utf8_normalize.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -Iutf8lite/src -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c utf8_valid.c -o utf8_valid.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -Iutf8lite/src -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c utf8_width.c -o utf8_width.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -Iutf8lite/src -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c util.c -o util.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -Iutf8lite/src -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c utf8lite/src/array.c -o utf8lite/src/array.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -Iutf8lite/src -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c utf8lite/src/char.c -o utf8lite/src/char.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -Iutf8lite/src -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c utf8lite/src/encode.c -o utf8lite/src/encode.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -Iutf8lite/src -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c utf8lite/src/error.c -o utf8lite/src/error.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -Iutf8lite/src -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c utf8lite/src/escape.c -o utf8lite/src/escape.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -Iutf8lite/src -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c utf8lite/src/graph.c -o utf8lite/src/graph.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -Iutf8lite/src -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c utf8lite/src/graphscan.c -o utf8lite/src/graphscan.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -Iutf8lite/src -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c utf8lite/src/normalize.c -o utf8lite/src/normalize.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -Iutf8lite/src -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c utf8lite/src/render.c -o utf8lite/src/render.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -Iutf8lite/src -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c utf8lite/src/text.c -o utf8lite/src/text.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -Iutf8lite/src -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c utf8lite/src/textassign.c -o utf8lite/src/textassign.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -Iutf8lite/src -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c utf8lite/src/textiter.c -o utf8lite/src/textiter.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -Iutf8lite/src -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c utf8lite/src/textmap.c -o utf8lite/src/textmap.o
ar rcs libcutf8lite.a utf8lite/src/array.o utf8lite/src/char.o utf8lite/src/encode.o utf8lite/src/error.o utf8lite/src/escape.o utf8lite/src/graph.o utf8lite/src/graphscan.o utf8lite/src/normalize.o utf8lite/src/render.o utf8lite/src/text.o utf8lite/src/textassign.o utf8lite/src/textiter.o utf8lite/src/textmap.o
g++ -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o utf8.so as_utf8.o bytes.o context.o init.o render.o render_table.o string.o text.o utf8_encode.o utf8_format.o utf8_normalize.o utf8_valid.o utf8_width.o util.o -L. -lcutf8lite -L/usr/lib/R/lib -lR
/bin/bash: linha 2: g++: comando não encontrado
/usr/share/R/share/make/shlib.mk:6: recipe for target 'utf8.so' failed
make: *** [utf8.so] Error 127
ERROR: compilation failed for package ‘utf8’
* removing ‘/home/raquel/R/x86_64-pc-linux-gnu-library/3.4/utf8’
Warning in install.packages :
installation of package ‘utf8’ had non-zero exit status
* installing *source* package ‘digest’ ...
** package ‘digest’ successfully unpacked and MD5 sums checked
** libs
g++ -std=gnu++11 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c SpookyV2.cpp -o SpookyV2.o
/bin/bash: g++: comando não encontrado
/usr/lib/R/etc/Makeconf:168: recipe for target 'SpookyV2.o' failed
make: *** [SpookyV2.o] Error 127
ERROR: compilation failed for package ‘digest’
* removing ‘/home/raquel/R/x86_64-pc-linux-gnu-library/3.4/digest’
Warning in install.packages :
installation of package ‘digest’ had non-zero exit status
* installing *source* package ‘fansi’ ...
** package ‘fansi’ successfully unpacked and MD5 sums checked
** libs
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c assumptions.c -o assumptions.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c has.c -o has.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c init.c -o init.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c nchar.c -o nchar.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c read.c -o read.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c rnchar.c -o rnchar.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c state.c -o state.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c strip.c -o strip.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c strsplit.c -o strsplit.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c tabs.c -o tabs.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c tohtml.c -o tohtml.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c unhandled.c -o unhandled.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c unique.c -o unique.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c utf8.c -o utf8.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c utils.c -o utils.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c wrap.c -o wrap.o
g++ -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o fansi.so assumptions.o has.o init.o nchar.o read.o rnchar.o state.o strip.o strsplit.o tabs.o tohtml.o unhandled.o unique.o utf8.o utils.o wrap.o -L/usr/lib/R/lib -lR
/bin/bash: linha 2: g++: comando não encontrado
/usr/share/R/share/make/shlib.mk:6: recipe for target 'fansi.so' failed
make: *** [fansi.so] Error 127
ERROR: compilation failed for package ‘fansi’
* removing ‘/home/raquel/R/x86_64-pc-linux-gnu-library/3.4/fansi’
Warning in install.packages :
installation of package ‘fansi’ had non-zero exit status
* installing *source* package ‘rlang’ ...
** package ‘rlang’ successfully unpacked and MD5 sums checked
** libs
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -I./lib/ -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c capture.c -o capture.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -I./lib/ -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c export.c -o export.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -I./lib/ -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c internal.c -o internal.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -I./lib/ -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c lib.c -o lib.o
g++ -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o rlang.so capture.o export.o internal.o lib.o -L/usr/lib/R/lib -lR
/bin/bash: linha 2: g++: comando não encontrado
/usr/share/R/share/make/shlib.mk:6: recipe for target 'rlang.so' failed
make: *** [rlang.so] Error 127
ERROR: compilation failed for package ‘rlang’
* removing ‘/home/raquel/R/x86_64-pc-linux-gnu-library/3.4/rlang’
Warning in install.packages :
installation of package ‘rlang’ had non-zero exit status
* installing *source* package ‘Rcpp’ ...
** package ‘Rcpp’ successfully unpacked and MD5 sums checked
** libs
g++ -I/usr/share/R/include -DNDEBUG -I../inst/include/ -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c api.cpp -o api.o
/bin/bash: g++: comando não encontrado
/usr/lib/R/etc/Makeconf:168: recipe for target 'api.o' failed
make: *** [api.o] Error 127
ERROR: compilation failed for package ‘Rcpp’
* removing ‘/home/raquel/R/x86_64-pc-linux-gnu-library/3.4/Rcpp’
Warning in install.packages :
installation of package ‘Rcpp’ had non-zero exit status
ERROR: dependency ‘rlang’ is not available for package ‘ellipsis’
* removing ‘/home/raquel/R/x86_64-pc-linux-gnu-library/3.4/ellipsis’
Warning in install.packages :
installation of package ‘ellipsis’ had non-zero exit status
ERROR: dependencies ‘glue’, ‘fansi’ are not available for package ‘cli’
* removing ‘/home/raquel/R/x86_64-pc-linux-gnu-library/3.4/cli’
Warning in install.packages :
installation of package ‘cli’ had non-zero exit status
ERROR: dependencies ‘ellipsis’, ‘digest’, ‘glue’, ‘rlang’ are not available for package ‘vctrs’
* removing ‘/home/raquel/R/x86_64-pc-linux-gnu-library/3.4/vctrs’
Warning in install.packages :
installation of package ‘vctrs’ had non-zero exit status
ERROR: dependencies ‘cli’, ‘fansi’, ‘rlang’, ‘utf8’, ‘vctrs’ are not available for package ‘pillar’
* removing ‘/home/raquel/R/x86_64-pc-linux-gnu-library/3.4/pillar’
Warning in install.packages :
installation of package ‘pillar’ had non-zero exit status
ERROR: dependencies ‘rlang’, ‘vctrs’ are not available for package ‘hms’
* removing ‘/home/raquel/R/x86_64-pc-linux-gnu-library/3.4/hms’
Warning in install.packages :
installation of package ‘hms’ had non-zero exit status
ERROR: dependencies ‘cli’, ‘fansi’, ‘pillar’, ‘rlang’ are not available for package ‘tibble’
* removing ‘/home/raquel/R/x86_64-pc-linux-gnu-library/3.4/tibble’
Warning in install.packages :
installation of package ‘tibble’ had non-zero exit status
ERROR: dependencies ‘Rcpp’, ‘tibble’, ‘hms’ are not available for package ‘readr’
* removing ‘/home/raquel/R/x86_64-pc-linux-gnu-library/3.4/readr’
Warning in install.packages :
installation of package ‘readr’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpoKYSPa/downloaded_packages’
>
> library(readr)
Error in library(readr) : there is no package called ‘readr’
>