Calculates the slope (longitudinal gradient or steepness) of linear geographic features such as roads (for more details, see Ariza-López et al. (2019) <doi:10.1038/s41597-019-0147-x>) and rivers (for more details, see Cohen et al. (2018) <doi:10.1016/j.jhydrol.2018.06.066>). It can use local Digital Elevation Model (DEM) data or download DEM data via the 'ceramic' package. The package also provides functions to add elevation data to linestrings and visualize elevation profiles.
| Version: | 1.0.1 |
| Depends: | R (≥ 2.10) |
| Imports: | sf,raster, methods,pbapply,geodist,colorspace |
| Suggests: | terra,knitr,rmarkdown,ceramic,bookdown,covr,testthat,osmextract,stplanr,dplyr,tmap,leaflet,bench,rlang |
| Published: | 2025-06-23 |
| DOI: | 10.32614/CRAN.package.slopes |
| Author: | Robin Lovelace |
| Maintainer: | Robin Lovelace <rob00x at gmail.com> |
| BugReports: | https://github.com/ropensci/slopes/issues |
| License: | GPL-3 |
| URL: | https://github.com/ropensci/slopes/,https://docs.ropensci.org/slopes/ |
| NeedsCompilation: | no |
| Materials: | README,NEWS |
| CRAN checks: | slopes results |
| Package source: | slopes_1.0.1.tar.gz |
| Windows binaries: | r-devel:slopes_1.0.1.zip, r-release:slopes_1.0.1.zip, r-oldrel:slopes_1.0.1.zip |
| macOS binaries: | r-release (arm64):slopes_1.0.1.tgz, r-oldrel (arm64):slopes_1.0.1.tgz, r-release (x86_64):slopes_1.0.1.tgz, r-oldrel (x86_64):slopes_1.0.1.tgz |
Please use the canonical formhttps://CRAN.R-project.org/package=slopesto link to this page.