Skip to content
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

Error in FUN(left, right) : non-numeric argument to binary operator #6

Closed
wraymond opened this issue Sep 21, 2016 · 4 comments
Closed

Comments

@wraymond
Copy link

First off, I am super excited about this package! Thanks for all the work. I have been trying to get a scalebar on my own map and kept on getting various errors. So I ran through your example and got this
Error in FUN(left, right) : non-numeric argument to binary operator
After running
ggm1 + blank() + north(map.df) + scalebar(map.df, dist = 5, dd2km = TRUE, model = 'WGS84')

from your example. the creation of ggm1 worked just fine. This is the same error I get when I try to add a scalebar to my own map. Thoughts? Thanls

@oswaldosantos
Copy link
Owner

Hi
You got that error running the example without modifications or only trying to run your code following the example?

@wraymond
Copy link
Author

Error running the example code (copy and paste). It just so happens thats its the same error when I try my own code/map as well.

@oswaldosantos
Copy link
Owner

I have updated the examples to replace the ggplot2:::fortify function for broom:::tidy. Please try again to see if the error persist. I am having no problems reproducing the examples.

@wraymond
Copy link
Author

The new example code works. Now I will see if I can implement it with my data. I'll keep you posted. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants