R Observatory
Search
install.packages("nhdR")
CRAN 30-day downloads, method
551+14.6% up on the 30 days before, the better direction
Test coverage, method
4%of lines run by tests

Tools for working with the National Hydrography Dataset, with functions for querying, downloading, and networking both the NHD <https://www.usgs.gov/national-hydrography> and NHDPlus <https://www.epa.gov/waterdata/nhdplus-national-hydrography-dataset-plus> datasets.

Maintainer
Jemma Stachelek
Licence
GPL
Latest release
9 Sep 2026
First release
31 Jan 2019

Compare with another package

More details
Releases
13
Needs compilation
No
Needs R
>= 3.5.0
Config/roxygen2/version
8.1.0
Language
en-US
LazyData
true
SystemRequirements
7-zip command line tool (7z)
Task views (1)
Cite

Package

Run in R for the authors' entry:

citation("nhdR")

The package provides a citation file, so citation() returns the authors' own entry.

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

From data release v2026-10-28, which the citation names so these numbers can be found later.

All 13 check platforms pass.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    0.6.2
    Time taken
    136 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    0.6.2
    Time taken
    97 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    0.6.2
    Time taken
    97 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    0.6.2
    Time taken
    96 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    0.6.2
    Time taken
    158 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    0.6.2
    Time taken
    38 s
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    0.6.2
    Time taken
    135 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    0.6.2
    Time taken
    181 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    0.6.2
    Time taken
    119 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    0.6.2
    Time taken
    119 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    0.6.2
    Time taken
    35 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    0.6.2
    Time taken
    125 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    0.6.2
    Time taken
    133 s
  • 13 OK

Over time

No change since 25 Oct 2026

As a list (5)
ChangedWorst statusOKNotesWarningsErrors
25 Oct 2026OK13000
24 Oct 2026Error12001
5 Aug 2026OK13000
1 Aug 2026Note12100
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
587+12.4% up on the 30 days before, the better directionIt is the sum of 4 channels: CRAN, r2u, autoCRAN and c2d4u.

CRAN rank

5,560 of 26,530

CRAN

551 downloads in the last 30 days

Rank
5,560 of 26,530
Change
+14.6% up on the 30 days before, the better direction

It is in the total. Take it out

r2u

20 downloads in the last 30 days

Rank
4,736 of 30,526
Change
+100% up on the 30 days before, the better direction

It is in the total. Take it out

autoCRAN

2 downloads in the last 30 days

Rank
22,452 of 29,212
Change
−86.7% down on the 30 days before, the worse direction

It is in the total. Take it out

c2d4u, no longer updated

14 downloads in the last 30 days

Rank
1,238 of 7,575
Change
−12.5% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
18
Dependent packages
0
Suggested by
0
Needs (18)
Installing it adds
53 packages, 50.2 MB of source
Of those, need compilation
34
Optional extras (9)
Functions
46
Public exports
21
Lines of R code
1,863
Median complexity
2
Functions (46)
Size and composition

Lines by kind (3,565)

KindLinesShare
R code1,86352%
Tests46113%
Documentation1,07530%
Guides1665%

Lines by language

LanguageLinesShare
R2,32465%
Rd1,07530%
Vignettes1665%

Languages are counted from file extensions.

Files
77
R functions
46
Complexity
Median
2
Mean
3.2
Highest
13
Median lines per function
14.5
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
46
Calls
66
Unconnected
4
Groups
2
Growth (13 releases)
Total lines by release
2,638 on 30 Jan 20193,565 on 9 Sep 2026
Release changes

Coverage was measured, but at least one test failed during the run.

Lines run by tests
4.2%
Expressions run by tests
4.4%
Test cases
28
Exports named in tests
71.4%
Coverage by file (7)
Coverage run
Lines counted
719
Lines the tests ran
30
Tests passed
No
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
28
Lines of tests
461
Test lines per line of code
0.25
Exports documented
100%
Arguments documented
100%
Return value documented
90.5%
Help pages with examples
70%
Examples run in checks
4.8%
Guides (3)
Other documentation
README
Yes, 332 words
Release notes file
Yes
Help pages
30
Lines of documentation
1,075
DatasetSizeColumns
gullList of simple features lake polygons and flowlines within a buffer around Gull Lake Michigan.length 2
gull_flowFlowlines within a buffer around Gull Lake Michigan including flow information.16 × 18COMID, FDATE, RESOLUTION, GNIS_ID, GNIS_NAME, LENGTHKM and 12 more
mendotaList of simple features lake polygons and flowlines within a buffer around Lake Mendota.length 2
mendota_networkUpstream flowlines connected to Lake Mendota.192 × 15comid, fdate, resolution, gnis_id, gnis_name, lengthkm and 9 more
sunapeeList of simple features lake polygons and flowlines within a buffer around Lake Sunapee.length 2
sunapee_networkUpstream flowlines connected to Lake Sunapee.161 × 15comid, fdate, resolution, gnis_id, gnis_name, lengthkm and 9 more
vpu_shpLow-res simple features data frame of the NHDPlus vector processing units93 × 9DrainageID, UnitID, UnitName, UnitType, Hydroseq, AreaSqKM and 3 more
Earlier names (1)
  • Joseph Stachelek

jsta / nhdr on codeberg.org

Stars
0
Forks
0
Open issues
0
Last commit
19 Oct 2026
Activity
Commits
472
Open pull requests
0
Tagged releases
1
Latest tagged release
0.6.2, 10 Sep 2026
In development
–
Issues closed in
–
Pull requests closed in
–
Pull requests merged
–
Created
7 Sep 2026
Licence file reads as
–

Development practices and AI coding tools are not collected from Codeberg yet.

Earlier repositories (1)
R releases
  • On CRAN
  • Archived
  • Release

Archived and back

ArchivedBackCRAN's reasonKind
28 Jun 202117 Jul 2021check problems were not corrected in timeChecks not fixed
VersionReleasedREvents
0.6.2 current9 Sep 20264.6.1
0.6.112 Aug 20234.3.1
0.6.020 Apr 20234.2.3
0.5.99 Oct 20224.2.1
0.5.810 Aug 20224.2.1
0.5.73 Jan 20224.1.2
0.5.617 Jul 20214.1.0Back on CRAN 17 Jul 2021
0.5.56 Jun 20214.1.0Archived 28 Jun 2021
“check problems were not corrected in time”
Earlier versions (5)
VersionReleasedR
0.5.428 Jan 20214.0.3
0.5.323 Mar 20203.6.3
0.5.21 May 20193.6.0
0.5.119 Feb 20193.5.2
0.5.031 Jan 20193.5.2
Release notes (0.6.2)
  • Move from GitHub to Codeberg
  • Address missing standard packages in DESCRIPTION (MichaelChirico)