bcmaps 1.2.0
Deprecation of sp and raster support
We've started the process of removing support for the sp and raster packages, especially those parts of that require the use of the rgdal and rgeos packages, which will be retired in October 2023. See the r-spatial blog for details of this evolution. We will fully remove support for Spatial classes (from package sp) in the next release in Summer 2023.
- Added deprecation warnings for the
classargument in all of the data download functions:get_layer()and all of the wrapper shortcuts such asbc_bound(),census_tract(), etc. This argument will be removed in the next version ofbcmapsas these functions will only returnsfobjects. - The
Spatialmethod oftransform_bc_albers()is deprecated. fix_geo_problems()is deprecated and will be removed completely in Summer 2023.
Forsfobjects simply usesf::st_make_valid()self_union()is deprecated and will be removed in Summer 2023. Useraster::union()
forSpatialPolygonsDataFrames, orsf::st_union()withsfobjects instead.get_poly_attribute()is deprecated because it had a very niche application for calculating attributes on aSpatialPolygonsDataFrame, which we are removing support for. It will be removed completely in Summer 2023.