Raster package is not loading nor installing properly since I (recently) updated R. I get the following error message when trying to load raster:
library(raster)
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
Is it just me? or is there an issue with the package raster loading/installing in R? I read about other people having similar issues but is there a way to fix it? What can I try doing? I tried uninstalling and reinstalling raster, sp, and terra as well as restarting R. I can't get terra to install version 1.5.12...
Version: RStudio 2021.09.0+351 "Ghost Orchid" Release for Windows
Thank you.