Further, with R 4.0.4 on Rosetta but with CRAN binary packages, there is no 
problem. It is most likely that the problem is caused by user-installed 
upstream software components, and sf or rgdal installed from source, possibly 
with libsqlite3 also installed from source. Please report back if any other 
drivers fail - RSQLite does not use local binaries, but bundles the software 
library itself.

--
Roger Bivand
Norwegian School of Economics
Postboks 3490 Ytre Sandviken, 5045 Bergen, Norway
roger.biv...@nhh.no


________________________________________
Fra: R-sig-Geo <r-sig-geo-boun...@r-project.org> på vegne av Roger Bivand 
<roger.biv...@nhh.no>
Sendt: onsdag 31. mars 2021 18.25
Til: Manuel Spínola; r-sig-geo
Emne: Re: [R-sig-Geo]  R crashes when reading geopackage files with st_read (sf 
package) in macOS

Please refer to the associated sf issue on github: 
https://github.com/r-spatial/sf/issues/1606 for completeness. Please confirm 
that you are not using the MacOS sf CRAN binary package, but have installed 
GDAL, PROJ and GEOS yourself. Please also confirm that you see the same error 
with every GPKG file.

--
Roger Bivand
Norwegian School of Economics
Postboks 3490 Ytre Sandviken, 5045 Bergen, Norway
roger.biv...@nhh.no


________________________________________
Fra: R-sig-Geo <r-sig-geo-boun...@r-project.org> på vegne av Manuel Spínola 
<mspinol...@gmail.com>
Sendt: onsdag 31. mars 2021 17.55
Til: r-sig-geo
Emne: [R-sig-Geo] 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"))




--
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspin...@una.cr <mspin...@una.ac.cr>
mspinol...@gmail.com
Teléfono: (506) 8706 - 4662
Personal website: Lobito de río <https://sites.google.com/site/lobitoderio/>
Institutional website: ICOMVIS <http://www.icomvis.una.ac.cr/>

        [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to