rcompanion fail

mail@pastecode.io avatar
unknown
r
2 years ago
5.1 kB
8
Indexable
Never
> install.packages("rcompanion")
Installation du package dans ‘/home/m1tal/R/x86_64-pc-linux-gnu-library/4.2’
(car ‘lib’ n'est pas spécifié)
installation des dépendances ‘curl’, ‘openssl’, ‘httr’, ‘DescTools’

essai de l'URL 'https://cloud.r-project.org/src/contrib/curl_5.0.0.tar.gz'
Content type 'application/x-gzip' length 682047 bytes (666 KB)
==================================================
downloaded 666 KB

essai de l'URL 'https://cloud.r-project.org/src/contrib/openssl_2.0.6.tar.gz'
Content type 'application/x-gzip' length 1206602 bytes (1.2 MB)
==================================================
downloaded 1.2 MB

essai de l'URL 'https://cloud.r-project.org/src/contrib/httr_1.4.5.tar.gz'
Content type 'application/x-gzip' length 160874 bytes (157 KB)
==================================================
downloaded 157 KB

essai de l'URL 'https://cloud.r-project.org/src/contrib/DescTools_0.99.48.tar.gz'
Content type 'application/x-gzip' length 2635756 bytes (2.5 MB)
==================================================
downloaded 2.5 MB

essai de l'URL 'https://cloud.r-project.org/src/contrib/rcompanion_2.4.26.tar.gz'
Content type 'application/x-gzip' length 151196 bytes (147 KB)
==================================================
downloaded 147 KB

* installing *source* package ‘curl’ ...
** package ‘curl’ correctement décompressé et sommes MD5 vérifiées
** 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] --------------------------------
Configuration failed because libcurl was not found. Try installing:
 * deb: libcurl4-openssl-dev (Debian, Ubuntu, etc)
 * rpm: libcurl-devel (Fedora, CentOS, RHEL)
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 MESSAGE] ---------------------------
<stdin>:1:10: fatal error: curl/curl.h: Aucun fichier ou dossier de ce type
compilation terminated.
--------------------------------------------------------------------
ERROR: configuration failed for package ‘curl’
* removing ‘/home/m1tal/R/x86_64-pc-linux-gnu-library/4.2/curl’
Warning in install.packages :
  l'installation du package ‘curl’ a eu un statut de sortie non nul
* installing *source* package ‘openssl’ ...
** package ‘openssl’ correctement décompressé et sommes MD5 vérifiées
** 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 (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: Aucun fichier ou dossier de ce type
    1 | #include <openssl/opensslv.h>
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
--------------------------------------------------------------------
ERROR: configuration failed for package ‘openssl’
* removing ‘/home/m1tal/R/x86_64-pc-linux-gnu-library/4.2/openssl’
Warning in install.packages :
  l'installation du package ‘openssl’ a eu un statut de sortie non nul
ERROR: dependencies ‘curl’, ‘openssl’ are not available for package ‘httr’
* removing ‘/home/m1tal/R/x86_64-pc-linux-gnu-library/4.2/httr’
Warning in install.packages :
  l'installation du package ‘httr’ a eu un statut de sortie non nul
ERROR: dependency ‘httr’ is not available for package ‘DescTools’
* removing ‘/home/m1tal/R/x86_64-pc-linux-gnu-library/4.2/DescTools’
Warning in install.packages :
  l'installation du package ‘DescTools’ a eu un statut de sortie non nul
ERROR: dependency ‘DescTools’ is not available for package ‘rcompanion’
* removing ‘/home/m1tal/R/x86_64-pc-linux-gnu-library/4.2/rcompanion’
Warning in install.packages :
  l'installation du package ‘rcompanion’ a eu un statut de sortie non nul

Les packages source téléchargés sont dans
	‘/tmp/Rtmp2j1ZCD/downloaded_packages’