load_dir.Rd
Load all recognised vector and raster files within a given directory.
load_dir(path)
String. The path to the directory where spatial layers are stored.
list of layers in the form of sf or SpatRaster objects
pkg_layers <- system.file(path = "cartography/CMR/", package = "mapMCDA")
cmr <- load_dir(pkg_layers)