Hi there!
I'm doing statistical analysis of temporal and spatial dependencies in environmental datasets.
I need the 'spdep' package.
But I can't install and load it because my 'sf' package (required for 'spdep') is also impossible to load.
I get this error message:
library(sf)
Error: failed to load package or namespace for 'sf' :
.onLoad failed in loadNamespace() for 'units', details :
call: udunits_init(path)
error: no database found!
addition: Warning message:
the 'sf' package was compiled with version R 4.1.3
I don't know how to do this.
I have version R 4.1.1.
I tried with version R 4.0.5 and R 3.6.2, I tried downloading new versions of Rtools.
I've tried downloading directly via CRAN, and also with the ZIP file. I tried installing it via GitHub... Nothing works, and I don't understand the problem.
Please help! Thank you,
Aël