Bonjour,

J'essaye d'installer mapview sur Rstudio server mais j'y arrive pas

J'ai ce message d'erreur.

Vous avez une idée s'il vous plait ?
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
 
> install.packages("mapview")
Installing package into ‘/home/m.z/R/x86_64-redhat-linux-gnu-library/3.5(as ‘lib’ is unspecified)
also installing the dependencies ‘units’, ‘leafem’, ‘sf’
 
trying URL 'https://cran.rstudio.com/src/contrib/units_0.6-5.tar.gz'
Content type 'application/x-gzip' length 959970 bytes (937 KB)
==================================================
downloaded 937 KB
 
trying URL 'https://cran.rstudio.com/src/contrib/leafem_0.0.1.tar.gz'
Content type 'application/x-gzip' length 2844830 bytes (2.7 MB)
==================================================
downloaded 2.7 MB
 
trying URL 'https://cran.rstudio.com/src/contrib/sf_0.8-0.tar.gz'
Content type 'application/x-gzip' length 8607770 bytes (8.2 MB)
==================================================
downloaded 8.2 MB
 
trying URL 'https://cran.rstudio.com/src/contrib/mapview_2.7.0.tar.gz'
Content type 'application/x-gzip' length 2029313 bytes (1.9 MB)
==================================================
downloaded 1.9 MB
 
* installing *source* package ‘units’ ...
** package ‘units’ successfully unpacked and MD5 sums checked
configure: units: 0.6-4
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 g++ -m64 accepts -g... yes
checking how to run the C++ preprocessor... g++ -m64 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for error_at_line... yes
checking for gcc... gcc -m64 -std=gnu99
checking whether we are using the GNU C compiler... yes
checking whether gcc -m64 -std=gnu99 accepts -g... yes
checking for gcc -m64 -std=gnu99 option to accept ISO C89... none needed
checking for XML_ParserCreate in -lexpat... yes
checking udunits2.h usability... no
checking udunits2.h presence... no
checking for udunits2.h... no
checking udunits2/udunits2.h usability... no
checking udunits2/udunits2.h presence... no
checking for udunits2/udunits2.h... no
checking for ut_read_xml in -ludunits2... no
configure: error: in `/tmp/RtmpSUBlGP/R.INSTALL20623299b699/units':
configure: error: 
--------------------------------------------------------------------------------
  Configuration failed because libudunits2.so was not found. Try installing:
    * deb: libudunits2-dev (Debian, Ubuntu, ...)
    * rpm: udunits2-devel (Fedora, EPEL, ...)
    * brew: udunits (OSX)
  If udunits2 is already installed in a non-standard location, use:
    --configure-args='--with-udunits2-lib=/usr/local/lib'
  if the library was not found, and/or:
    --configure-args='--with-udunits2-include=/usr/include/udunits2'
  if the header was not found, replacing paths with appropriate values.
  You can alternatively set UDUNITS2_INCLUDE and UDUNITS2_LIBS manually.
--------------------------------------------------------------------------------
 
See `config.log' for more details
ERROR: configuration failed for package ‘units’
* removing ‘/home/m.z/R/x86_64-redhat-linux-gnu-library/3.5/units’
Warning in install.packages :
  installation of package ‘units’ had non-zero exit status
ERROR: dependency ‘units’ is not available for package ‘sf’
* removing ‘/home/m.z/R/x86_64-redhat-linux-gnu-library/3.5/sf’
Warning in install.packages :
  installation of package ‘sf’ had non-zero exit status
ERROR: dependency ‘sf’ is not available for package ‘leafem’
* removing ‘/home/m.z/R/x86_64-redhat-linux-gnu-library/3.5/leafem’
Warning in install.packages :
  installation of package ‘leafem’ had non-zero exit status
ERROR: dependencies ‘leafem’, ‘sf’ are not available for package ‘mapview’
* removing ‘/home/m.z/R/x86_64-redhat-linux-gnu-library/3.5/mapview’
Warning in install.packages :
  installation of package ‘mapview’ had non-zero exit status
 
The downloaded source packages are in
	‘/tmp/Rtmp8gN6x2/downloaded_packages’