Skip to contents

slopes 1.0.2

  • Migrated from the deprecated raster package to terra (closes #60). terra is now a hard dependency (Imports); raster is no longer required.
  • elevation_extract(), slope_raster(), and elevation_add() now always use terra. The terra = argument is deprecated (with a message) and ignored.
  • elevation_get() now always returns a SpatRaster. The output_format = argument is deprecated and ignored.
  • slope_matrix_to_raster() and slope_xyz_simple() now work with SpatRaster objects. Legacy Raster* objects are accepted with an automatic conversion message for backwards compatibility.
  • The bundled dataset has been renamed from dem_lisbon_raster to dem_lisbon and is now a SpatRaster object (was a RasterLayer).
  • Fixed CRAN --run-donttest failure: the ceramic/Mapbox-dependent example in elevation_add() is now wrapped in \dontrun{} instead of \donttest{} (closes #72).

slopes 1.0.1

CRAN release: 2025-06-23

slopes 1.0.0

  • We have submitted and responded to all comments to rOpenSci review.
  • Many changes, including breaking changes to function names.
  • Added a NEWS.md file to track changes to the package.

slopes 0.0.1

  • Initial version of the package on GitHub.