On 13/01/2026 18:22, Roy Mendelssohn - NOAA Federal via R-SIG-Mac wrote:
I just updated packages on my Mac (apple silicon, R 4.5.2) and the package
“sf” was updated. After the update, anything using “sf” was throwing errors
that:
proj_create: Cannot find proj.db
proj_create: no database context specified
This did not occur before the update. When I compiled sf from source, the
problem went away.
To be host-independent, sf needed to be installed using something like
--configure-args='--with-data-copy --with-proj-data=/opt/R/arm64/share/proj
so the proj auxiliary files are copied into the package (as directory
proj). (Analogously for gdal files.) This may not be needed if you have
an installation of PROJ (the software, not the R package), as presumably
you do if you installed sf from source.
This applies also to packages terra and vapour.
--
Brian D. Ripley, [email protected]
Emeritus Professor of Applied Statistics, University of Oxford
_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac