Open FlukeAndFeather opened 4 years ago
According to https://www.r-spatial.org/r/2020/03/17/wkt.html#crs-objects-in-sf:
...this means that packages that hard-code for instance
x[["proj4string"]]
## NULL
now fail to get the result wanted
See raster-methods.R:22.
I'm getting error
Error in if (!is.na(projargs) && !nzchar(projargs)) projargs <- NA_character_ : missing value where TRUE/FALSE needed
when running the sample code from the READMEtraceback()
indicates the error is caused byCRS(attr(x[[attr(x, "sf_column")]], "crs")[["proj4string"]])
. Sure enough,names(attr(mammal_shapes[[attr(mammal_shapes, "sf_column")]], "crs"))
returns[1] "input" "wkt"
, there's no"proj4string"
.Session info