library(sf)
Error: package or namespace load failed for ‘sf’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘classInt’
install.packages("ClassInt") #this package does not want to install..... i have R 4.2.2
library(ggspatial)
Error: package or namespace load failed for ‘ggspatial’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘classInt’
The error message says "there is no package called 'classInt'" but you tried to install "ClassInt" with a upper case C. Try
install.packages("classInt")