Exploration and Graphics for RivEr Trends Confidence Intervals
Overview
Collection of functions to evaluate uncertainty of results from water quality analysis using the Weighted Regressions on Time Discharge and Season (WRTDS) method. This package is an add-on to the EGRET package that performs the WRTDS analysis. The WRTDS modeling method was initially introduced and discussed in Hirsch et al. (2010) doi:10.1111/j.1752-1688.2010.00482.x, and expanded in Hirsch and De Cicco (2015) doi:10.3133/tm4A10. The paper describing the uncertainty and confidence interval calculations is Hirsch et al. (2015) doi:10.1016/j.envsoft.2015.07.017.
- News started!
- Added run.parallel to runPairsBoot and runGroupsBoot.
- Added message to "wBT" that "runPairsBoot" is preferred.
- Added a function "boot_message" to allow users to view output message from the output of the bootstrapping (pairs/groups) functions.
- Restructured "runPairsBoot"" and "runGroupsBoot"" so that common tasks are called by the same functions.
- Slight edits to vignettes.
- Changed the default value to NA for caseSetUp argument in "plotHistogramTrend""
- plotConcHistBoot and plotFluxHistBoot set to default to the Sample date range instead of the Daily date range.
From NEWS in the release
Install
Health
ERRORtestsr-oldrel-macos-arm64, r-release-macos-arm64
r-oldrel-macos-arm64
Running ‘testthat.R’ [1s/1s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(EGRETci)
> test_check("EGRETci")
Saving _problems/tests_boot_tests-113.R
[ FAIL 1 | WARN 0 | SKIP 10 | PASS 15 ]
══ Skipped tests (10) ══════════════════════════════════════════════════════════
• On CRAN (10): 'tests_boot_tests.R:57:3', 'tests_boot_tests.R:69:3',
'tests_boot_tests.R:87:3', 'tests_boot_tests.R:131:3',
'tests_boot_tests.R:150:3', 'tests_boot_tests.R:179:3', 'tests_kalman.R:4:3',
'tests_kalman.R:21:3', 'tests_kalman.R:46:3', 'tests_kalman.R:71:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('tests_boot_tests.R:113:3'): paVector ──────────────────────────────
Expected `paIndexWinter` to equal `11:13`.
Differences:
Lengths differ: 4 is not 3
[ FAIL 1 | WARN 0 | SKIP 10 | PASS 15 ]
Error:
! Test failures.
Execution haltedr-release-macos-arm64
Running ‘testthat.R’ [0s/0s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(EGRETci)
> test_check("EGRETci")
Saving _problems/tests_boot_tests-113.R
[ FAIL 1 | WARN 0 | SKIP 10 | PASS 15 ]
══ Skipped tests (10) ══════════════════════════════════════════════════════════
• On CRAN (10): 'tests_boot_tests.R:57:3', 'tests_boot_tests.R:69:3',
'tests_boot_tests.R:87:3', 'tests_boot_tests.R:131:3',
'tests_boot_tests.R:150:3', 'tests_boot_tests.R:179:3', 'tests_kalman.R:4:3',
'tests_kalman.R:21:3', 'tests_kalman.R:46:3', 'tests_kalman.R:71:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('tests_boot_tests.R:113:3'): paVector ──────────────────────────────
Expected `paIndexWinter` to equal `11:13`.
Differences:
Lengths differ: 4 is not 3
[ FAIL 1 | WARN 0 | SKIP 10 | PASS 15 ]
Error:
! Test failures.
Execution halted- ERROR11 OK, 2 ERRORNow
- ERROR11 OK, 3 ERROR2026-03-10
Documentation
- Help pages
- 26 (4 internal)includes a package overview page
- Examples that run
- 100%20 run in a plain check
- Exported functions with examples
- 87%
- Documented parameters
- 100%
- Return-value docs
- 57%
- Help pages citing references
- 4%
Downloads
Repository
- PRs merged (all time)
- 98%
- Median days to close, 50 most recently updated closed issues
- 256
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
9 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/doi-usgs/egretci on 2026-10-22.
The R CMD check workflow runs on macOS
GitHub Pages site last deployed 2025-04-04 · The repository has a site deploy workflow
Dependencies
Installing EGRETci adds 58 packages (37 with compiled code, 53 MB of source tarballs). Heaviest: sf 9.3 MB, data.table 5.7 MB, dataRetrieval 4.1 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 2.0.5Latest2025-04-17 · current release · diff ↗ ·
added 4 exports
boot_message, calc_boot_out, paVector, run_bootstraps - RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 2.0.42021-04-13 · diff ↗ ·
added 5 exports
genDailyBoot, makeAnnualPI, makeDailyPI, makeMonthPI, monthSeqToDec - RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 2.0.32019-03-15 · diff ↗
- unarchivedReturned to CRAN2019-02-12
- 2.0.22019-02-12 · diff ↗
- archivedRemoved from CRAN2019-01-23depends on archived package 'EGRET'
- 2.0.02018-08-16 · diff ↗ ·
removed 5 exports
estSliceSurfacesSimpleAlt, makeCombo, makeTwoYearsResults, paVector, wordLikeadded 2 exports
runGroupsBoot, runPairsBoot - RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2015-08-14
- Total releases
- 7 / 11 yrs
- License
- CC0
- Copyright
- This software is in the public domain because it contains materials that originally came from the United States Geological Survey, an agency of the United States Department of Interior. For more information, see the official USGS copyright policy at hhttps://www.usgs.gov/information-policies-and-instructions/copyrights-and-credits
- Minimum R
- ≥ 3.5.0
- Bundled data
- 1.9 MB / 5 files
- Download size
- 3.0 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("EGRETci")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.