-
Notifications
You must be signed in to change notification settings - Fork 7
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
Crash when converting USA states/counties #56
Comments
If another data point is helpful, I am finding a similar issue where R crashes completely on running the following:
(Can't submit a reprex because R crashes.) |
Thanks for adding this! Until I fix this, the workaround is to go through al <- tigris::voting_districts('AL')
algeos <- geos::geos_read_wkb(sf::st_as_binary(tigris::voting_districts('AL')$geometry))
head(algeos)
#> <geos_geometry[6]>
#> [1] <MULTIPOLYGON [-86.909 31.870...-86.840 31.962]>
#> [2] <MULTIPOLYGON [-87.927 32.038...-87.745 32.191]>
#> [3] <MULTIPOLYGON [-88.052 32.030...-87.890 32.174]>
#> [4] <MULTIPOLYGON [-88.020 32.139...-87.854 32.308]>
#> [5] <MULTIPOLYGON [-87.877 32.343...-87.827 32.460]>
#> [6] <MULTIPOLYGON [-88.118 31.990...-87.950 32.129]> Created on 2021-10-24 by the reprex package (v2.0.1) |
Thanks for the workaround! The package looks great. Planning on using this and your |
Good to know! There's a few things that are slower ( |
This crash stopped happening on my computer, so I'm going to fall back to using |
Also working for me using the most recent version on GitHub. Thanks! |
The text was updated successfully, but these errors were encountered: