Hi everyone,
I'm encountering an issue when trying to load the RStoolbox
package in R. Here are the details:
> library(RStoolbox)
This is version 1.0.2.1 of RStoolbox
Error: package or namespace load failed for ‘RStoolbox’:
.onAttach failed in attachNamespace() for 'RStoolbox', details:
call: NULL
error: [rast] empty srs
In addition: Warning message:
PROJ: proj_create_from_database: Cannot find proj.db (GDAL error 1)
Here is the version
sf::sf_extSoftVersion()
GEOS GDAL proj.4 GDAL_with_GEOS USE_PROJ_H PROJ
"3.13.0" "3.10.1" "9.5.1" "true" "true" "9.5.1"
I've tried reinstalling PROJ and GDAL, setting the environment variables directly in R, and ensuring all dependencies are installed, but the issue persists.
Any help or suggestions would be greatly appreciated!
Thanks in advance,