I recently installed both R and R Studio (this to say everything is updated). And it is giving me a version error when I run the following:
The error is the following:
Loading required package: sp Error: package or namespace load failed for ‘raster’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): namespace ‘terra’ 1.4-22 is being loaded, but >= 1.5.12 is required
I already ran "install.packages("raster",dependencies=T)" to install the packages, but the error has to do with the versions. Again, everything is up to date.
Hope someone can help!