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.
Hi Michael,
sf
1.0-2 now generates a message when it finds an old-stylecrs
object, e.g.this generates errors on CRAN, because
ozmaps
tests for this not to happen.sf
1.0-2 has been submitted to CRAN. Futuresf
version will raise a warning, then an error.