-
Notifications
You must be signed in to change notification settings - Fork 2.1k
fortify problem with sp namespace #879
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This sounds like a great feature/horrible bug, but unfortunately we don't currently have the development bandwidth to support it/fix it. If you'd like to submit a pull request that implements this feature/fixes this bug, please follow the instructions in the development vignette. |
Pull request submitted. |
hadley
added a commit
that referenced
this issue
Mar 13, 2014
Fix fortify-spatial namespace issue (#879)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This may be a bit obscure, but I have found a problem using
fortify
for aSpatialPolygonsDataFrame
whensp
has not been loaded. While that may seem an unlikely scenario, it came up for me when trying to plot map data which loaded from files created usingsave
. Here is an artificial reproducible example of the errorIf I run
library(sp)
first the error goes away, but shouldfortify
usesp::polygons
rather thanpolygons
to avoid the error altogether?The text was updated successfully, but these errors were encountered: