You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!require(gpclib)) install.packages("gpclib", type="source")
or maybe by just installing rgeos according to the same discussion.
Somehow it seems mapproj is also required somewhere in the mapPlot.
(Discoverd these when playing with packrat to pack the SUMMER app)
Great package,
Thank you. :)
The text was updated successfully, but these errors were encountered:
liuyanguu
changed the title
mapPlot function will produce error caused by gpclibPermitStatus() if certain non-imported packages are not installed
mapPlot function will produce error caused by gpclibPermitStatus() if certain packages are not installed
Oct 28, 2019
liuyanguu
changed the title
mapPlot function will produce error caused by gpclibPermitStatus() if certain packages are not installed
mapPlot function will produce error caused by gpclibPermitStatus() if lacking certain packages
Oct 28, 2019
I might be wrong, but it seems I need to load both mapproj and gpclib. Just FYI.
On maptool's cran it says it "enhanced" gpclib. Not sure what that means.
https://github.com/bryandmartin/SUMMER/blob/cd53e5d8d549434ea2b29cba9b0fbfa957fc8a98/R/mapPlot.R#L100
Error message:
Error in maptools::unionSpatialPolygons: isTRUE(gpclibPermitStatus()) is not TRUE
Solved by installing
gpclib
from source according to this discussionor maybe by just installing
rgeos
according to the same discussion.Somehow it seems
mapproj
is also required somewhere in themapPlot
.(Discoverd these when playing with
packrat
to pack the SUMMER app)Great package,
Thank you. :)
The text was updated successfully, but these errors were encountered: