Bonjour.
J'ai, pour la première fois, un problème pour installer un paquet. N'ayant jamais été confronté à ce problème je ne sais pas quelle démarche adopter afin de résoudre mon problème ! Je suis preneur si vous avez des idées !
Voici quelques informations :
– système d'exploitation Linuxmint 19.1
– version de R: 3.6.1 en amd64
– version de R studio : 1.2.1335
le problème survient à l'installation du paquet stringr. Voici le log:
Il semble que le paquet qui pose problème soit stringi mais je ne sais pas comment aller plus loin pour résoudre le problème.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49 > install.packages("stringr") Installing package into /home/mrdjez/R/x86_64-pc-linux-gnu-library/3.6 (as lib is unspecified) also installing the dependency stringi essai de l'URL 'https://cloud.r-project.org/src/contrib/stringi_1.4.3.tar.gz' Content type 'application/x-gzip' length 7290890 bytes (7.0 MB) ================================================== downloaded 7.0 MB essai de l'URL 'https://cloud.r-project.org/src/contrib/stringr_1.4.0.tar.gz' Content type 'application/x-gzip' length 135777 bytes (132 KB) ================================================== downloaded 132 KB * installing *source* package stringi ... ** package stringi correctement décompressé et sommes MD5 vérifiées ** using staged installation checking for R_HOME... /usr/lib/R checking for R... /usr/lib/R/bin/R checking for endianness... little checking for R >= 3.1.0 for C++11 use... yes checking for R < 3.4.0 for CXX1X flag use... no checking for cat... /bin/cat checking for local ICUDT_DIR... icu61/data checking for gcc... gcc -std=gnu99 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc -std=gnu99 accepts -g... yes checking for gcc -std=gnu99 option to accept ISO C89... none needed checking how to run the C preprocessor... g++ -std=gnu++11 -E configure: error: in `/tmp/RtmpHQvCrL/R.INSTALL34f64adfb80e/stringi': configure: error: C preprocessor "g++ -std=gnu++11 -E" fails sanity check See `config.log' for more details ERROR: configuration failed for package stringi * removing /home/mrdjez/R/x86_64-pc-linux-gnu-library/3.6/stringi Warning in install.packages : installation of package stringi had non-zero exit status ERROR: dependency stringi is not available for package stringr * removing /home/mrdjez/R/x86_64-pc-linux-gnu-library/3.6/stringr Warning in install.packages : installation of package stringr had non-zero exit status The downloaded source packages are in /tmp/RtmpiDDXV8/downloaded_packages
Partager