slopes 2.0.0
CRAN release: 2026-06-25
- Migrated from the deprecated
rasterpackage toterra(closes #60).terrais now a hard dependency (Imports);rasteris no longer required or suggested. -
elevation_extract(),slope_raster(), andelevation_add()now always useterra. Theterra =argument is deprecated (with a message) and ignored. -
elevation_get()now always returns aSpatRaster. Theoutput_format =argument is deprecated and ignored. -
slope_matrix_to_raster()andslope_xyz_simple()now work withSpatRasterobjects. LegacyRaster*objects are accepted with an automatic conversion message for backwards compatibility. - The bundled dataset has been renamed from
dem_lisbon_rastertodem_lisbonand is now aSpatRasterobject (was aRasterLayer). - Fixed CRAN
--run-donttestfailure: theceramic/Mapbox-dependent example inelevation_add()is now wrapped in\dontrun{}instead of\donttest{}(closes #72). - Fixed
slopes_palette()hardcoded testing logic, allowing it to correctly return any number of requested colors for the “Green-Brown” palette. - Substantially improved overall package test coverage (from ~59% to over 84%) by adding test wrappers for plot functions and matrix conversion utilities.
slopes 1.0.1
CRAN release: 2025-06-23
- Package source code now hosted at https://github.com/ropensci/slopes
- New documentation section showing how directed routes work: https://docs.ropensci.org/slopes/articles/slopes.html#splitting-the-network
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.mdfile to track changes to the package.
