I'm using the rgeoboundaries package in R to fetch administrative boundaries for Mali and Senegal. Although the package is no longer available on CRAN, I installed it successfully from GitHub using the following commands:
# Install the package from GitHub
remotes::install_github("wmgeolab/rgeoboundaries")
# Load necessary libraries
library(rgeoboundaries)
library(sf)
# Fetch administrative level 0 boundaries
mli_sen <- gb_adm0(c("Mali", "Senegal"), type = "sscgs")
However, I get the following error:
Error: Cannot open "/vsizip//tmp/RtmpDwlCaz/geoBoundaries-MLI-ADM0-all.zip/geoBoundaries-MLI-ADM0_simplified.shp"; The file doesn't seem to exist.
Question:
How can I resolve this to successfully fetch the boundary data?
Any help or guidance would be much appreciated.
