Installation von tidyverse funktioniert nicht

Wie erweitere ich R um eigene Funktionen oder Pakete? Welches Paket ist passend für meine Fragestellung?

Moderatoren: EDi, jogo

Antworten
zora
Beiträge: 2
Registriert: Di Apr 20, 2021 9:04 pm

Installation von tidyverse funktioniert nicht

Beitrag von zora »

Hallo,
Ich nutze Linux Mint 19.3 Tricia Cinnamon 64-bit und habe aktuell die R version 4.0.5 (2021-03-31) installiert. Ich habe versucht darin das tidyverse-package zu installieren. dabei bekomme ich leider folgende Fehlermeldung:

Code: Alles auswählen

> install.packages("tidyverse")
Installing package into ‘/home/lena/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
also installing the dependencies ‘curl’, ‘gargle’, ‘ids’, ‘openssl’, ‘googledrive’, ‘googlesheets4’, ‘haven’, ‘httr’, ‘rvest’, ‘xml2’

versuche URL 'https://cloud.r-project.org/src/contrib/curl_4.3.tar.gz'
Content type 'application/x-gzip' length 673779 bytes (657 KB)
==================================================
downloaded 657 KB

versuche URL 'https://cloud.r-project.org/src/contrib/gargle_1.1.0.tar.gz'
Content type 'application/x-gzip' length 295629 bytes (288 KB)
==================================================
downloaded 288 KB

versuche URL 'https://cloud.r-project.org/src/contrib/ids_1.0.1.tar.gz'
Content type 'application/x-gzip' length 91213 bytes (89 KB)
==================================================
downloaded 89 KB

versuche URL 'https://cloud.r-project.org/src/contrib/openssl_1.4.3.tar.gz'
Content type 'application/x-gzip' length 1207708 bytes (1.2 MB)
==================================================
downloaded 1.2 MB

versuche URL 'https://cloud.r-project.org/src/contrib/googledrive_1.0.1.tar.gz'
Content type 'application/x-gzip' length 1808539 bytes (1.7 MB)
==================================================
downloaded 1.7 MB

versuche URL 'https://cloud.r-project.org/src/contrib/googlesheets4_0.3.0.tar.gz'
Content type 'application/x-gzip' length 435126 bytes (424 KB)
==================================================
downloaded 424 KB

versuche URL 'https://cloud.r-project.org/src/contrib/haven_2.4.0.tar.gz'
Content type 'application/x-gzip' length 282697 bytes (276 KB)
==================================================
downloaded 276 KB

versuche URL 'https://cloud.r-project.org/src/contrib/httr_1.4.2.tar.gz'
Content type 'application/x-gzip' length 159950 bytes (156 KB)
==================================================
downloaded 156 KB

versuche URL 'https://cloud.r-project.org/src/contrib/rvest_1.0.0.tar.gz'
Content type 'application/x-gzip' length 94134 bytes (91 KB)
==================================================
downloaded 91 KB

versuche URL 'https://cloud.r-project.org/src/contrib/xml2_1.3.2.tar.gz'
Content type 'application/x-gzip' length 271876 bytes (265 KB)
==================================================
downloaded 265 KB

versuche URL 'https://cloud.r-project.org/src/contrib/tidyverse_1.3.1.tar.gz'
Content type 'application/x-gzip' length 702779 bytes (686 KB)
==================================================
downloaded 686 KB

* installing *source* package ‘curl’ ...
** Paket ‘curl’ erfolgreich entpackt und MD5 Summen überprüft
** using staged installation
Package libcurl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcurl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcurl' found
Package libcurl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcurl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcurl' found
Using PKG_CFLAGS=
Using PKG_LIBS=-lcurl
------------------------- ANTICONF ERROR ---------------------------
Configuration failed because libcurl was not found. Try installing:
 * deb: libcurl4-openssl-dev (Debian, Ubuntu, etc)
 * rpm: libcurl-devel (Fedora, CentOS, RHEL)
 * csw: libcurl_dev (Solaris)
If libcurl is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a libcurl.pc file. If pkg-config
is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
--------------------------------------------------------------------
ERROR: configuration failed for package ‘curl’
* removing ‘/home/lena/R/x86_64-pc-linux-gnu-library/4.0/curl’
Warning in install.packages :
  installation of package ‘curl’ had non-zero exit status
* installing *source* package ‘openssl’ ...
** Paket ‘openssl’ erfolgreich entpackt und MD5 Summen überprüft
** using staged installation
Using PKG_CFLAGS=
--------------------------- [ANTICONF] --------------------------------
Configuration failed because openssl was not found. Try installing:
 * deb: libssl-dev (Debian, Ubuntu, etc)
 * rpm: openssl-devel (Fedora, CentOS, RHEL)
 * csw: libssl_dev (Solaris)
 * brew: openssl@1.1 (Mac OSX)
If openssl is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a openssl.pc file. If pkg-config
is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
-------------------------- [ERROR MESSAGE] ---------------------------
tools/version.c:1:10: fatal error: openssl/opensslv.h: Datei oder Verzeichnis nicht gefunden
 #include <openssl/opensslv.h>
          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
--------------------------------------------------------------------
ERROR: configuration failed for package ‘openssl’
* removing ‘/home/lena/R/x86_64-pc-linux-gnu-library/4.0/openssl’
Warning in install.packages :
  installation of package ‘openssl’ had non-zero exit status
* installing *source* package ‘haven’ ...
** Paket ‘haven’ erfolgreich entpackt und MD5 Summen überprüft
** using staged installation
** libs
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG  -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include'   -Ireadstat -DHAVE_ZLIB -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-wP4Uzq/r-base-4.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c tagged_na.c -o tagged_na.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG  -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include'   -Ireadstat -DHAVE_ZLIB -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-wP4Uzq/r-base-4.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c readstat/readstat_parser.c -o readstat/readstat_parser.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG  -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include'   -Ireadstat -DHAVE_ZLIB -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-wP4Uzq/r-base-4.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c readstat/readstat_bits.c -o readstat/readstat_bits.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG  -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include'   -Ireadstat -DHAVE_ZLIB -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-wP4Uzq/r-base-4.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c readstat/readstat_metadata.c -o readstat/readstat_metadata.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG  -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include'   -Ireadstat -DHAVE_ZLIB -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-wP4Uzq/r-base-4.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c readstat/readstat_io_unistd.c -o readstat/readstat_io_unistd.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG  -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include'   -Ireadstat -DHAVE_ZLIB -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-wP4Uzq/r-base-4.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c readstat/readstat_variable.c -o readstat/readstat_variable.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG  -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include'   -Ireadstat -DHAVE_ZLIB -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-wP4Uzq/r-base-4.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c readstat/readstat_writer.c -o readstat/readstat_writer.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG  -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include'   -Ireadstat -DHAVE_ZLIB -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-wP4Uzq/r-base-4.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c readstat/readstat_error.c -o readstat/readstat_error.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG  -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include'   -Ireadstat -DHAVE_ZLIB -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-wP4Uzq/r-base-4.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c readstat/readstat_convert.c -o readstat/readstat_convert.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG  -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include'   -Ireadstat -DHAVE_ZLIB -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-wP4Uzq/r-base-4.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c readstat/CKHashTable.c -o readstat/CKHashTable.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG  -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include'   -Ireadstat -DHAVE_ZLIB -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-wP4Uzq/r-base-4.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c readstat/readstat_malloc.c -o readstat/readstat_malloc.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG  -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include'   -Ireadstat -DHAVE_ZLIB -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-wP4Uzq/r-base-4.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c readstat/readstat_value.c -o readstat/readstat_value.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG  -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include'   -Ireadstat -DHAVE_ZLIB -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-wP4Uzq/r-base-4.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c readstat/sas/readstat_xport_write.c -o readstat/sas/readstat_xport_write.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG  -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include'   -Ireadstat -DHAVE_ZLIB -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-wP4Uzq/r-base-4.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c readstat/sas/readstat_sas7bcat_read.c -o readstat/sas/readstat_sas7bcat_read.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG  -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include'   -Ireadstat -DHAVE_ZLIB -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-wP4Uzq/r-base-4.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c readstat/sas/readstat_sas7bdat_write.c -o readstat/sas/readstat_sas7bdat_write.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG  -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include'   -Ireadstat -DHAVE_ZLIB -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-wP4Uzq/r-base-4.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c readstat/sas/readstat_sas7bcat_write.c -o readstat/sas/readstat_sas7bcat_write.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG  -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include'   -Ireadstat -DHAVE_ZLIB -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-wP4Uzq/r-base-4.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c readstat/sas/ieee.c -o readstat/sas/ieee.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG  -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include'   -Ireadstat -DHAVE_ZLIB -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-wP4Uzq/r-base-4.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c readstat/sas/readstat_xport_read.c -o readstat/sas/readstat_xport_read.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG  -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include'   -Ireadstat -DHAVE_ZLIB -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-wP4Uzq/r-base-4.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c readstat/sas/readstat_sas.c -o readstat/sas/readstat_sas.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG  -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include'   -Ireadstat -DHAVE_ZLIB -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-wP4Uzq/r-base-4.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c readstat/sas/readstat_sas_rle.c -o readstat/sas/readstat_sas_rle.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG  -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include'   -Ireadstat -DHAVE_ZLIB -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-wP4Uzq/r-base-4.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c readstat/sas/readstat_xport.c -o readstat/sas/readstat_xport.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG  -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include'   -Ireadstat -DHAVE_ZLIB -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-wP4Uzq/r-base-4.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c readstat/sas/readstat_sas7bdat_read.c -o readstat/sas/readstat_sas7bdat_read.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG  -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include'   -Ireadstat -DHAVE_ZLIB -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-wP4Uzq/r-base-4.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c readstat/spss/readstat_sav_compress.c -o readstat/spss/readstat_sav_compress.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG  -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include'   -Ireadstat -DHAVE_ZLIB -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-wP4Uzq/r-base-4.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c readstat/spss/readstat_spss_parse.c -o readstat/spss/readstat_spss_parse.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG  -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include'   -Ireadstat -DHAVE_ZLIB -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-wP4Uzq/r-base-4.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c readstat/spss/readstat_sav_read.c -o readstat/spss/readstat_sav_read.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG  -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include'   -Ireadstat -DHAVE_ZLIB -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-wP4Uzq/r-base-4.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c readstat/spss/readstat_por_read.c -o readstat/spss/readstat_por_read.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG  -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include'   -Ireadstat -DHAVE_ZLIB -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-wP4Uzq/r-base-4.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c readstat/spss/readstat_sav.c -o readstat/spss/readstat_sav.o
gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG  -I'/home/lena/R/x86_64-pc-linux-gnu-library/4.0/cpp11/include'   -Ireadstat -DHAVE_ZLIB -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-wP4Uzq/r-base-4.0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c readstat/spss/readstat_zsav_compress.c -o readstat/spss/readstat_zsav_compress.o
readstat/spss/readstat_zsav_compress.c:2:10: fatal error: zlib.h: Datei oder Verzeichnis nicht gefunden
 #include <zlib.h>
          ^~~~~~~~
compilation terminated.
/usr/lib/R/etc/Makeconf:172: recipe for target 'readstat/spss/readstat_zsav_compress.o' failed
make: *** [readstat/spss/readstat_zsav_compress.o] Error 1
ERROR: compilation failed for package ‘haven’
* removing ‘/home/lena/R/x86_64-pc-linux-gnu-library/4.0/haven’
Warning in install.packages :
  installation of package ‘haven’ had non-zero exit status
* installing *source* package ‘xml2’ ...
** Paket ‘xml2’ erfolgreich entpackt und MD5 Summen überprüft
** using staged installation
Package libxml-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxml-2.0' found
Package libxml-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxml-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxml-2.0' found
Using PKG_CFLAGS=
Using PKG_LIBS=-lxml2
------------------------- ANTICONF ERROR ---------------------------
Configuration failed because libxml-2.0 was not found. Try installing:
 * deb: libxml2-dev (Debian, Ubuntu, etc)
 * rpm: libxml2-devel (Fedora, CentOS, RHEL)
 * csw: libxml2_dev (Solaris)
If libxml-2.0 is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a libxml-2.0.pc file. If pkg-config
is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
--------------------------------------------------------------------
ERROR: configuration failed for package ‘xml2’
* removing ‘/home/lena/R/x86_64-pc-linux-gnu-library/4.0/xml2’
Warning in install.packages :
  installation of package ‘xml2’ had non-zero exit status
ERROR: dependency ‘openssl’ is not available for package ‘ids’
* removing ‘/home/lena/R/x86_64-pc-linux-gnu-library/4.0/ids’
Warning in install.packages :
  installation of package ‘ids’ had non-zero exit status
ERROR: dependencies ‘curl’, ‘openssl’ are not available for package ‘httr’
* removing ‘/home/lena/R/x86_64-pc-linux-gnu-library/4.0/httr’
Warning in install.packages :
  installation of package ‘httr’ had non-zero exit status
ERROR: dependency ‘httr’ is not available for package ‘gargle’
* removing ‘/home/lena/R/x86_64-pc-linux-gnu-library/4.0/gargle’
Warning in install.packages :
  installation of package ‘gargle’ had non-zero exit status
ERROR: dependencies ‘httr’, ‘xml2’ are not available for package ‘rvest’
* removing ‘/home/lena/R/x86_64-pc-linux-gnu-library/4.0/rvest’
Warning in install.packages :
  installation of package ‘rvest’ had non-zero exit status
ERROR: dependencies ‘curl’, ‘gargle’, ‘httr’ are not available for package ‘googledrive’
* removing ‘/home/lena/R/x86_64-pc-linux-gnu-library/4.0/googledrive’
Warning in install.packages :
  installation of package ‘googledrive’ had non-zero exit status
ERROR: dependencies ‘curl’, ‘gargle’, ‘googledrive’, ‘httr’, ‘ids’ are not available for package ‘googlesheets4’
* removing ‘/home/lena/R/x86_64-pc-linux-gnu-library/4.0/googlesheets4’
Warning in install.packages :
  installation of package ‘googlesheets4’ had non-zero exit status
ERROR: dependencies ‘googledrive’, ‘googlesheets4’, ‘haven’, ‘httr’, ‘rvest’, ‘xml2’ are not available for package ‘tidyverse’
* removing ‘/home/lena/R/x86_64-pc-linux-gnu-library/4.0/tidyverse’
Warning in install.packages :
  installation of package ‘tidyverse’ had non-zero exit status

The downloaded source packages are in
	‘/tmp/RtmptqLpix/downloaded_packages’
Wenn ich versuche wie empfohlen z.b.das libcurl4-openssl-dev-package zu installieren ergibt sich folgendes:

Code: Alles auswählen

> install.packages("libcurl4-openssl-dev")
Installing package into ‘/home/lena/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
Warning in install.packages :
  package ‘libcurl4-openssl-dev’ is not available for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
Weiß da jemand weiter? Ich wäre euch sehr dankbar!
Athomas
Beiträge: 768
Registriert: Mo Feb 26, 2018 8:19 pm

Re: Installation von tidyverse funktioniert nicht

Beitrag von Athomas »

install.packages("libcurl4-openssl-dev")
libcurl4-openssl-dev ist kein R-Package, sondern eine (Betriebssystem-) Library!
zora
Beiträge: 2
Registriert: Di Apr 20, 2021 9:04 pm

Re: Installation von tidyverse funktioniert nicht

Beitrag von zora »

aaah, cool. Danke, das hat geholfen!
Antworten