I tried to open a list of shp file, using this code:
path_par <- list.files(path = "E:\\core", full.names = T, pattern = "shp")
parch <-path_par %>% map(read_sf)
But I receive this error message:
Error: Cannot open "E:\core\CorePO_Esc0.shp.xml"; The source could be corrupt or not supported. See `st_drivers()` for a list of supported formats.
Any help will be greatly appreciated.