Estimate Streamflow Depletion Due to Groundwater Pumping
Overview
Implementation of analytical models for estimating streamflow depletion due to groundwater pumping, and other related tools. Functions are broadly split into two groups: (1) analytical streamflow depletion models, which estimate streamflow depletion for a single stream reach resulting from groundwater pumping; and (2) depletion apportionment equations, which distribute estimated streamflow depletion among multiple stream reaches within a stream network. See Zipper et al. (2018) doi:10.1029/2018WR022707 for more information on depletion apportionment equations and Zipper et al. (2019) doi:10.1029/2018WR024403 for more information on analytical depletion functions, which combine analytical models and depletion apportionment equations.
- The package now relies on
sffor spatial operations. - Update to remove dependencies on deprecating
sp,rgeos, andrgdalpackages. - Add flag in
huntandhantushto deal with Macmpfrissue.
From NEWS.md in the release
Install
Health
NOTEDESCRIPTION meta-informationr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘apportion_inverse.R’ ‘apportion_polygon.R’ ‘apportion_web.R’
‘prep_reach_dist.R’r-devel-windows-x86_64, r-oldrel-windows-x86_64, r-release-windows-x86_64
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
'apportion_inverse.R' 'apportion_polygon.R' 'apportion_web.R'
'prep_reach_dist.R'- NOTE13 NOTENow
- NOTE12 NOTE, 1 FAILURE2026-06-08
- ERROR12 NOTE, 1 ERROR2026-06-07
- NOTE3 OK, 11 NOTE2026-03-10
Documentation
- Help pages
- 15
- Examples that run
- 92%12 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 80%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 3
- Median days to close, 50 most recently updated closed PRs
- not measured
4 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/foundryspatial/streamdepletr on 2026-10-22.
Dependencies
Code & Tests
Datasets
People & History
Maintainer since 0.1.0 (2019)
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.2.0Latest
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- unarchivedReturned to CRAN2020-03-25
- 0.1.12020-03-25 · diff ↗
- archivedRemoved from CRAN2020-02-20check problems were not corrected in time Warning on data() not making required packages available
- RR 3.6.0 released · 2019-04-26
- 0.1.02019-04-25
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2019-04-25
- Total releases
- 3 / 7 yrs
- License
- BSD_3_clause + file LICENSE OSI
- Copyright
- Foundry Spatial Ltd.
- Minimum R
- ≥ 3.5
- Bundled data
- 29 KB / 2 files
- Download size
- 1.0 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("streamDepletr")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1029/2018wr024403.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.