Open aniruhil opened 3 years ago
Does this only happen with mapview?
And geojsonio
Hm, I've never come across this issue before. Sounds more like a general R setup issue to me... You could try to
remotes::install_github("r-spatial/mapview")
to see if that solves it (which I doubt).
Tried that but as you suspected, didn't help. Thanks anyway for trying to sort it out. I will poke around, maybe wipe clean and reinstall R. Oddly enough mapdeck
works just fine, as do all sf
, tmap
, leaflet
etc.
Does running sf::sf_extSoftVersion()
work?
Yes, this is the output:
> sf::sf_extSoftVersion()
GEOS GDAL proj.4 GDAL_with_GEOS USE_PROJ_H
"3.9.1" "3.2.2" "7.2.1" "true" "true"
PROJ
"7.2.1"
While I am waiting for 4.1 mac binary to be released next month, I thought I would try and set up a < 4.0 R package.
Installed mapview
, dependencies, etc and it works. So the issue seems to be something about my R 4.0.5 installation. In case this tidbit helps.
This was happening to me as well. Reinstalling terra
fixed it.
I have R crashing with mapview
too, but when this occurs it will also crash with terra
, raster
, and tmap
. Will be investigating more but wanted to add that in case it is of any help. (Win 10, R 4.2.1)
Update: I found that uninstalling and reinstalling Rcpp
package allowed these to load without crashing the session
I had this same problem; @ogletrees suggestion (reinstall Rcpp) worked. Thanks!
loading
mapview
(version 2.9.0) crashes R. Not sure what is going on here but this is a plain vanilla session, no RStudio involved. Same result if I try dev version 2.9.1.sessionInfo() details follow:
Thank you for any suggestions you may have!