Skip to content

EGRETci

2.0.5Package record

Exploration and Graphics for RivEr Trends Confidence Intervals

0packages dependsuggested by 1
8Kdownloads / year
50.0%test coverage
11/13flavors OK

Overview

About

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.

Changes in 2.0.5
  • 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

CRAN checks
2ERROR11OK
Check messages
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 halted

r-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

CRAN check page ↗

Slowest check: 6.1 min · r-oldrel-windows-x86_64
Status changes
  • ERROR11 OK, 2 ERRORNow
  • ERROR11 OK, 3 ERROR2026-03-10
Advisories

none known

Documentation

In release 2.0.5
READMEYes · 441 wordsVignettesYes · 2 · dynamicNEWSYes · 33% structured · mentions 2.0.5Citation fileYes · software entry only
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

8K
CRAN downloads in the past year
Rank #4,023 · ~22/day · ~666/mo
Daily download trend is not available in this view yet.
1.3K30 days
2.3K90 days
8K1 year
Compare downloads with other packages →
Also on811 r2u7 autocran176 c2d4u

Repository

11Stars
10Forks
3Open issues
1Open PRs
6Releases
482Commits
2Commit identities
rusgsegretbootstrapwater-quality-trendsrstatsr-package
482 commits · Last activity 2025-04-04 · 0% stars, 30d
Responsiveness
How these are sampled
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

2025-02-17 · 92026-07-07 · 11
PracticesBeta

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.

Continuous integration (3)
GitHub ActionsR CMD check workflowGitLab CI

The R CMD check workflow runs on macOS

Governance and community (1)
Code of conduct
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2025-04-04 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting (Codecov)
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 3.5.0
Imports (6)
EGRETbinomstatsgraphicsutilsforeach
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 1
Suggests, most downloaded first

Datasets

People & History

People (4)
Author, Maintainer since 1.0.0 (2015)
Contributor · added in 2.0.5
Contributor · added in 2.0.0
Releases (7)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 2.0.5Latest
    record
    2025-04-17 · current release · diff ↗ ·
    added 4 exports
    boot_message, calc_boot_out, paVector, run_bootstraps
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 2.0.4
    record
    2021-04-13 · diff ↗ ·
    added 5 exports
    genDailyBoot, makeAnnualPI, makeDailyPI, makeMonthPI, monthSeqToDec
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 2.0.3
    record
    2019-03-15 · diff ↗
  • unarchivedReturned to CRAN
    2019-02-12
  • 2.0.2
    record
    2019-02-12 · diff ↗
  • archivedRemoved from CRAN
    2019-01-23
    depends on archived package 'EGRET'
  • 2.0.0
    record
    2018-08-16 · diff ↗ ·
    removed 5 exports
    estSliceSurfacesSimpleAlt, makeCombo, makeTwoYearsResults, paVector, wordLike
    added 2 exports
    runGroupsBoot, runPairsBoot
  • R
    R 3.5.0 released · 2018-04-23
Show 5 earlier eventsHide 5 earlier events
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 1.0.2
    record
    2016-04-16 · diff ↗
  • 1.0.0
    record
    2015-08-14
  • R
    R 3.2.0 released · 2015-04-16

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
Appears in task views

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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for EGRETci version 2.0.5 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy