Hi, I am having an error loading mapview. I can install the package, but when I go to load the package, I get the below error:
library(mapview)
Error: package or namespace load failed for ‘mapview’:
Function found when exporting methods from the namespace ‘raster’ which is not S4 generic: ‘all.equal’
In addition: Warning message:
no function found corresponding to methods exports from ‘raster’ for: ‘direction’, ‘gridDistance’
I also can't do the tutorial where you are supposed to view the breweries. When I do mapview(breweries), I get the following error:
mapview(breweries)
Error in mapview(breweries) : could not find function "mapview"
I'm using R Version 4.1.2 (2021-11-01).
Any ideas on what coupld be going wrong?
Thanks!