Skip to content

v1.0.1

Compare
Choose a tag to compare
@boshek boshek released this 21 Jan 23:44

bcmaps 1.0.1

  • When R version is >= 4.0, bcmaps will use tools::R_user_dir("bcmaps", "cache") to determine the cache directory, while when R version is < 4.0, it
    will use rappdirs::user_cache_dir("bcmaps"). This is to align with CRAN's
    storage policy using the tools approach while maintaining backwards
    compatibility with older R versions. Unfortunately this will require users who
    updated to version 1.0 to re-download layers because we are caching layers in a
    different location on your file system from that version. Users wishing to clear
    the old cache location could run bcmaps::delete_cache() before updating to bcmaps 1.0.1.
    (#83)
  • cded_raster and cded_stars directly accepts a bounding box generated by sf::st_bbox as an aoi. (#87)
  • Fixed a bug where bundled datasets (e.g., mapsheets_50K(), mapsheets_250K()) would not work if sf was linked to older GDAL/PROJ libraries due to different formats of coordinate reference systems. (#85)
  • Added new census boundary layers: census_dissemination_area(), census_metropolitan_area(), census_tract() (#82).
  • Add missing layers to available_layers