Skip to content
Prev 28592 / 29559 Next

R crashes when reading geopackage files with st_read (sf package) in macOS

Dear list members,

When reading geopackages files with st_read (sf package) RStudio crashes (R
session aborted) in macOS.  Any suggestions to fix this problem?

Should I ask this question to the macOS group (r-sig-mac)?

library(sf)
Linking to GEOS 3.9.0, GDAL 3.2.1, PROJ 7.2.1


library(spData)


world = st_read(system.file("shapes/world.gpkg", package = "spData"))