Skip to content

EGRETci

Exploration and Graphics for RivEr Trends Confidence Intervals

v2.0.5 · Apr 17, 2025 · CC0

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

CRAN

640

Last 30 days

5028th

1.9K

Last 90 days

7.8K

Last year

Trend: +6.3% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

54

Last 90 days

822

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

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

2 ERROR
11 OK
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)
ERROR r-oldrel-macos-arm64

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
ERROR r-release-macos-arm64

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
ERROR r-devel-macos-arm64

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
ERROR r-release-macos-arm64

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
ERROR r-oldrel-macos-arm64

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

R 2,853 (53.8%)Tests 337 (6.4%)Docs 1,223 (23.1%)Vignettes 890 (16.8%)

API

Exported functions

23

Internal functions

8

Recent export changes

v2.0.5+4 boot_message, calc_boot_out, paVector +1 more
v2.0.4+5 genDailyBoot, makeAnnualPI, makeDailyPI +2 more

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

v1.0.0: 2,316 LOCv1.0.2: 2,370 LOCv2.0.0: 3,692 LOCv2.0.2: 3,729 LOCv2.0.3: 3,732 LOCv2.0.4: 4,758 LOCv2.0.5: 5,303 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (1)

suggests

Dependency Network

Dependencies Reverse dependencies EGRET binom foreach EGRET EGRETci

Version History

8 tracked
new 2.0.5 Mar 10, 2026
updated 2.0.5 ← 2.0.4 diff Apr 16, 2025
updated 2.0.4 ← 2.0.3 diff Apr 12, 2021
updated 2.0.3 ← 2.0.2 diff Mar 14, 2019
updated 2.0.2 ← 2.0.0 diff Feb 11, 2019
updated 2.0.0 ← 1.0.2 diff Aug 15, 2018
updated 1.0.2 ← 1.0.0 diff Apr 15, 2016
new 1.0.0 Aug 13, 2015