Hello, I'm trying to install the tmap package, but the following errors appear:
install.packages("tmap")
Installing package into ‘C:/Users/Jovani Souza/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
also installing the dependency ‘tmaptools’
There is a binary version available but the source version is later:
binary source needs_compilation
tmaptools 2.0-2 3.0 FALSE
tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/tmap_2.3-2.zip'
Content type 'application/zip' length 3520128 bytes (3.4 MB)
downloaded 3.4 MB
package ‘tmap’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\Jovani Souza\AppData\Local\Temp\RtmpwXn8Az\downloaded_packages
installing the source package ‘tmaptools’
tentando a URL 'https://cran.rstudio.com/src/contrib/tmaptools_3.0.tar.gz'
Content type 'application/x-gzip' length 41670 bytes (40 KB)
downloaded 40 KB
ERROR: cannot extract package from 'C:\Users\Jovani'
Warning in install.packages :
installation of package ‘tmaptools’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\Jovani Souza\AppData\Local\Temp\RtmpwXn8Az\downloaded_packages’
library(tmap)
Erro: package or namespace load failed for ‘tmap’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘tmaptools’
I also installed the tmaptools package, but it gives the following error:
install.packages("tmaptools")
Installing package into ‘C:/Users/Jovani Souza/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
There is a binary version available but the source version is later:
binary source needs_compilation
tmaptools 2.0-2 3.0 FALSE
installing the source package ‘tmaptools’
tentando a URL 'https://cran.rstudio.com/src/contrib/tmaptools_3.0.tar.gz'
Content type 'application/x-gzip' length 41670 bytes (40 KB)
downloaded 40 KB
ERROR: cannot extract package from 'C:\Users\Jovani'
Warning in install.packages :
installation of package ‘tmaptools’ had non-zero exit status
Could someone help me please ??
Thanks!