install.packages("tmap")
Installing package into ‘/home/luiz/R/x86_64-pc-linux-gnu-library/3.6’
(as ‘lib’ is unspecified)
also installing the dependencies ‘lwgeom’, ‘tmaptools’, ‘sf’, ‘stars’, ‘leafem’
- installing source package ‘sf’ ...
** package ‘sf’ successfully unpacked and MD5 sums checked
** using staged installation
configure: CC: gcc -std=gnu99
configure: CXX: g++ -std=gnu++11
checking for gdal-config... no
no
configure: error: gdal-config not found or not executable.
ERROR: configuration failed for package ‘sf’
- removing ‘/home/luiz/R/x86_64-pc-linux-gnu-library/3.6/sf’
Warning in install.packages :
installation of package ‘sf’ had non-zero exit status
ERROR: dependency ‘sf’ is not available for package ‘lwgeom’
- removing ‘/home/luiz/R/x86_64-pc-linux-gnu-library/3.6/lwgeom’
Warning in install.packages :
installation of package ‘lwgeom’ had non-zero exit status
ERROR: dependency ‘sf’ is not available for package ‘leafem’
- removing ‘/home/luiz/R/x86_64-pc-linux-gnu-library/3.6/leafem’
Warning in install.packages :
installation of package ‘leafem’ had non-zero exit status
ERROR: dependencies ‘sf’, ‘lwgeom’ are not available for package ‘stars’
- removing ‘/home/luiz/R/x86_64-pc-linux-gnu-library/3.6/stars’
Warning in install.packages :
installation of package ‘stars’ had non-zero exit status
ERROR: dependencies ‘sf’, ‘lwgeom’, ‘stars’ are not available for package ‘tmaptools’
- removing ‘/home/luiz/R/x86_64-pc-linux-gnu-library/3.6/tmaptools’
Warning in install.packages :
installation of package ‘tmaptools’ had non-zero exit status
ERROR: dependencies ‘tmaptools’, ‘sf’, ‘stars’, ‘leafem’ are not available for package ‘tmap’
- removing ‘/home/luiz/R/x86_64-pc-linux-gnu-library/3.6/tmap’
Warning in install.packages :
installation of package ‘tmap’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmppYOnZ9/downloaded_packages’
#maybe its dependencies problems