I am trying to use a recent feature in the mapview
package that requires a driver (fgb) available in the latest GDAL version (GDAL >= 3.1.0).
On my Windows machine I run
gdalinfo --version
GDAL 3.1.2, released 2020/07/07
but my rgdal
(version 1.5-16) uses
> rgdal::getGDALVersionInfo()
[1] "GDAL 3.0.4, released 2020/01/28"
So how can I update the GDAL version used inside R and link it to my r-spatial packages?