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

ozmaps() creates messages #13

Open
edzer opened this issue Jul 24, 2021 · 1 comment
Open

ozmaps() creates messages #13

edzer opened this issue Jul 24, 2021 · 1 comment

Comments

@edzer
Copy link

edzer commented Jul 24, 2021

Hi Michael, sf 1.0-2 now generates a message when it finds an old-style crs object, e.g.

> o = ozmap()
old-style crs object detected; please recreate object with a recent sf::st_crs()
> str(attr(o$geometry, "crs"))
List of 2
 $ epsg       : int 4283
 $ proj4string: chr "+proj=longlat +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +no_defs"
 - attr(*, "class")= chr "crs"

this generates errors on CRAN, because ozmaps tests for this not to happen. sf 1.0-2 has been submitted to CRAN. Future sf version will raise a warning, then an error.

@mdsumner
Copy link
Owner

thanks Edzer, will do

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