slopes
2.0.0Calculate Slopes of Roads, Rivers and Trajectories
Overview
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.
Install
Health
- OK2026-08-0413 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 99%
- Return-value docs
- 91%
- References docs
- 0%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Repository practices
10 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/ropensci/slopes on 2026-08-16.
Show all practices
Dependencies
Nothing depends on this yet.
Code & Tests
People & History
3 releases. Pick two to compare their code metrics. R releases are shown for context.
- 2.0.0Latest
- 1.0.22026-06-17 · diff ↗
- unarchivedReturned to CRAN2026-06-17
- archivedRemoved from CRAN2026-05-24issues were not corrected in time
- RR 4.6.0 released · 2026-04-24
- 1.0.12026-03-10
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2025-06-23
- Total releases
- 3 / 1 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 2.10
- Bundled data
- 109 KB / 9 files
- Download size
- 2.1 MB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("slopes")The authors publish a JOSS paper, so they have said how they want this cited. Run citation() and use what it gives you.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.