EGRETci
Exploration and Graphics for RivEr Trends Confidence Intervals
Description
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>.
Downloads
640
Last 30 days
5028th
1.9K
Last 90 days
7.8K
Last year
Trend: +6.3% (30d vs prior 30d)
0
Last 30 days
54
Last 90 days
822
Last year
Trend: -100% (30d vs prior 30d)
3
Last 7 days
21
Last 30 days
0
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | ERROR |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | ERROR |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (2 non-OK)
tests
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
tests
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
Check History
ERROR 11 OK · 0 NOTE · 0 WARNING · 3 ERROR · 0 FAILURE Mar 10, 2026
tests
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 ]
...[truncated]...
('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
tests
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 ]
...[truncated]...
('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
tests
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 ]
...[truncated]...
('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
Code
Structure
Lines of code
5,303
Files
74
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
23
Internal functions
8
Recent export changes
Testing & CI
Has tests
Yes
Test-to-code ratio
0.12
testthat edition
–
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
56.5%
\dontrun example ratio
0%
Roxygen coverage
100%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
0%
Unsafe pattern score
0
Dep constraint coverage
16.7%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
3.5.0
System requirements
–
C++ standard
–
License
CC0
License flags
SPDX valid, not OSI
History
Versions
7
First release
2015-08-13
Latest release
2025-04-17
Avg cadence
504 days
Cold removal rate
100%
Dep drift
3
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.