Skip to content

EGRET

3.0.12Package record

Exploration and Graphics for RivEr Trends

1packages dependsuggested by 1
8.5Kdownloads / year
55.4%test coverage
11/13flavors OK

Overview

About

Statistics and graphics for streamflow history, water quality trends, and the statistical modeling algorithm: Weighted Regressions on Time, Discharge, and Season (WRTDS).

Changes in 3.0.12
  • Changed readNWISDaily to use new USGS Water Data API services.
  • Changed readNWISInfo to use new USGS Water Data API services.
  • Added option ("adjust") to use the flow adjustment within the readNWISDaily and

readUserDaily functions. By default, "adjust" is set to TRUE and will

add a constant to zero flow values to allow log transformation. In special cases,

users may want to keep the zero-flow values, keeping in mind that in those cases

many of the modeling functions will not work.

  • Cleaned up plotConcTimeSmooth title.
  • Added a "fill" option to readDaily functions, see examples in

populateDaily for more information.

  • Added "fill_missing_daily" function as a standalone.
  • Added code to make sure the eList returned from runSeries contained
Show all changes in 3.0.12Hide the rest of the changes in 3.0.12

the same columns that would be returned from modelEstimation.

  • Revised WRTDSKalman algorithm to speed processing of records with long sample gaps. The behavior and outputs of the WRTDSKalman function have not changed.
  • Added the use of genmissing() to WRTDSKalman function on the first and last

gaps of the dataset instead of the existing approach where autocorrelation

doesn't extend into those gaps.

From NEWS.md in the release

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTEdependencies in R coder-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Namespace in Imports field not imported from:
  ‘MASS’
All declared Imports should be used.

CRAN check page ↗

Slowest check: 6.9 min · r-release-macos-x86_64
Status changes
  • NOTE11 OK, 2 NOTE2026-07-31
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 3.0.12
READMEYes · 846 wordsVignettesYes · 4 · dynamicNEWSYes · 33% structured · mentions 3.0.12Citation fileYes · software entry onlyWebsiteYes
Help pages
124 (1 internal)includes a package overview page
Examples that run
95%110 run in a plain check (1 of them under a condition) · 6 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
97%
Documented parameters
100%
Return-value docs
56%
Help pages citing references
1%

Also includes 3 demo scripts (run with demo())

Downloads

8.5K
CRAN downloads in the past year
Rank #3,322 · ~23/day · ~711/mo
Daily download trend is not available in this view yet.
2.1K30 days
3.4K90 days
8.5K1 year
Compare downloads with other packages →
Also on870 r2u3 autocran218 c2d4u

Repository

101Stars
47Forks
9Open issues
0Open PRs
22Releases
2,061Commits
21Commit identities
rusgswater-quality-datawater-qualityrstatsr-package
2,061 commits · Last activity 2026-10-21 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
98%
Median days to close, 50 most recently updated closed issues
72
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-08-09 · 922026-07-23 · 101
PracticesBeta

12 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/doi-usgs/egret on 2026-10-18.

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 2026-07-13 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 1 practice
Lint, format, editor (3)
AirVS CodeRStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
19 external dependencies (excludes base and recommended)

Installing EGRET adds 56 packages (36 with compiled code, 49 MB of source tarballs). Heaviest: sf 9.3 MB, data.table 5.7 MB, dataRetrieval 4.1 MB.

Depends (1)
R >= 3.5
Imports (13)
dataRetrievalsurvivalfieldsmethodsutilsgrDevicesgraphicsstatstruncnormforeachMASSsfzoo
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Suggested by 1
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (7)
Author, Maintainer since 2.0.0 (2014)
Author · added in 3.0.12
Author · added in 3.0.0
Contributor · added in 3.0.0
Contributor · added in 3.0.5
Contributor · added in 3.0.0
Releases (20)

Pick two releases to compare their code metrics.

  • 3.0.12Latest
    record
    2026-07-30 · current release · diff ↗ ·
    added 4 exports
    fillUpElists, fill_missing_daily, genmissing, precompute_L
  • R
    R 4.6.0 released · 2026-04-24
  • 3.0.11
    record
    2025-04-29 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 3.0.10
    record
    2024-11-20 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 3.0.9
    record
    2023-04-18 · diff ↗
  • 3.0.8
    record
    2023-03-03 · diff ↗ ·
    added 4 exports
    concConst, plotMonthTrend, printGroups, printPairs
  • R
    R 4.2.0 released · 2022-04-22
  • 3.0.7
    record
    2022-01-25 · diff ↗ ·
    added 1 export
    populateDailySamp
  • 3.0.6
    record
    2021-06-01 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 3.0.5
    record
    2021-04-09 · diff ↗ ·
    removed 2 exports
    formatCheckDate, formatCheckParameterCd
    added 8 exports
    WRTDSKalman, cleanUp, cumQdate, errorStats, jitterSam, plotTimeSlice, plotWRTDSKalman, randomSubset
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
Show 19 earlier eventsHide 19 earlier events
  • unarchivedReturned to CRAN
    2019-02-08
  • 3.0.2
    record
    2019-02-08 · diff ↗
  • archivedRemoved from CRAN
    2019-01-23
    check issues were not corrected in time
  • 3.0.0
    record
    2018-08-16 · diff ↗ ·
    added 19 exports
    bin_Qs, checkSurfaceSpan, decimalDate, decimalHighLow, flexFN, flexPlotAddOn, getConcFluxFromSurface, getSurfaceEstimates, makeDateInfo, nCensoredVals, nDischarge, nObservations, runGroups, runPairs, runSeries, run_WRTDS, startEnd, stitch, surfaceStartEnd
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 2.6.0
    record
    2016-07-27 · diff ↗ ·
    added 1 export
    makeAugmentedSample
  • R
    R 3.3.0 released · 2016-05-03
  • 2.4.3
    record
    2016-03-05 · diff ↗
  • 2.3.1
    record
    2015-08-13 · diff ↗ ·
    removed 2 exports
    estFNsegs, flexFN
  • 2.3.0
    record
    2015-07-07 · diff ↗ ·
    added 3 exports
    estFNsegs, flexFN, setUpEstimation
  • R
    R 3.2.0 released · 2015-04-16
  • 2.2.0
    record
    2015-04-14 · diff ↗
  • 2.1.1
    record
    2015-02-17 · diff ↗ ·
    added 3 exports
    fluxConst, monthInfo, qConst
  • 2.1.0
    record
    2014-12-18 · diff ↗
  • 2.0.2
    record
    2014-12-03 · diff ↗
  • 2.0.1
    record
    2014-11-24 · diff ↗ ·
    removed 1 export
    estDailyWithoutNormalization
  • 2.0.0
    record
    2014-11-20
  • R
    R 3.1.0 released · 2014-04-10

Package metadata

First published
2014-11-20
Total releases
20 / 12 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 https://www.usgs.gov/information-policies-and-instructions/copyrights-and-credits
Minimum R
≥ 3.5
Bundled data
1.3 MB / 2 files
Download size
3.9 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' entry:

citation("EGRET")

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 EGRET version 3.0.12 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, 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