I cannot install neither the leaflet package or the gdal package. I have:
RHEL 8.6
R 4.2
I have added many shared libraries to RHEL: gdal-config. .... etc. But to no avail.
There is a lot a chatter about gdal and leaflet, but I have found none that addresses my particular configuration.
Any ideas as to why this will not install? Here is error message when I try to install within R:
checking PROJ: checking whether PROJ and sqlite3 are available for linking:... no
configure: error: libproj or sqlite3 not found in standard or given locations.
ERROR: configuration failed for package ‘terra’
- removing ‘/home/fzuhl/R/x86_64-pc-linux-gnu-library/4.2/terra’
Warning in install.packages :
installation of package ‘terra’ had non-zero exit status
ERROR: dependency ‘terra’ is not available for package ‘raster’ - removing ‘/home/fzuhl/R/x86_64-pc-linux-gnu-library/4.2/raster’
Warning in install.packages :
installation of package ‘raster’ had non-zero exit status
ERROR: dependency ‘raster’ is not available for package ‘leaflet’ - removing ‘/home/fzuhl/R/x86_64-pc-linux-gnu-library/4.2/leaflet’
Warning in install.packages :
installation of package ‘leaflet’ had non-zero exit status