Tools for Working with the National Hydrography Dataset
- CRAN checks, method
Method
Checks and health
CRAN runs every current package through
R CMD checkon a set of machines and publishes a result for each one. The health shown on a package page comes from these results alone.- Problems
- Notes alone never count against a package, but a warning, an error or a failure on any platform is a problem. Open CRAN deadlines are a fact of their own, shown as a clock after the mark, so the mark always says what the checks found.
- Checks only
- Health reflects CRAN's check results and nothing else. Even a package with no tests, no coverage or no recent release can have every platform OK.
- Once a day
- Results are collected once a day from files CRAN publishes. Each platform is one machine set-up, named by its R version, operating system, architecture and compiler, such as r-devel-linux-x86_64-fedora-clang.
- Platforms counted
- The 13 in 3 of 13 is the number of platform rows CRAN published for that package on the day of collection. The set of machines changes over time, so the number is not fixed, and a package missing from a platform counts as neither passing nor failing there.
- All OK13 platforms
- CRAN 30-day downloads, method
- 551+14.6% up on the 30 days before, the better direction
- Dependent packages, method
Method
Reverse dependencies
Dependent packages are other packages that list this one under
Depends,ImportsorLinkingToin theirDESCRIPTIONfile. Those fields list the packages a package needs to install, so dependents break if this one is archived or broken.- As declared
- The counts follow the declarations as written, not whether a package uses the other one when it runs.
- Suggests apart
- Packages that list this one only under
Suggestsinstall and run without it, and use it for tests, examples or an optional feature. They are counted as Suggested by, never among the dependents, and a package that also lists it under one of the three fields is a dependent and is not counted again. - Zero
- Zero dependents means no current CRAN package declares a need for this one, though some may suggest it. On 28 Oct 2026, 19,572 of the 25,583 current CRAN packages had no dependent package.
- 0none suggest it
- Test coverage, method
Method
Test coverage
Test coverage is measured by downloading each CRAN package's current source file, installing its dependencies, building it and running its tests under covr.
- Almost half of CRAN has no tests to run
- Only CRAN packages are measured. Many have no percentage, most often because the package has no tests, and that blank is a recorded outcome, not missing data.
- NOT_CRAN
- Tests run with NOT_CRAN=true, so tests that skip themselves on CRAN run here, and the figure can differ from what CRAN's own checks see.
- Current version only
- Only the current version is measured, and a new version on CRAN is measured again. Older rows are kept but never filled in later. This is one package's run.
- Never 0%
- On a package page three states stay apart: measured, no tests, and not measured. Neither of the last two is ever shown as 0%.
- 4%of lines run by tests
- Advisories, method
Method
Security advisories
Advisories come from the R Consortium advisory database, a community record of security problems in R packages, as OSV publishes it.
- The copy
- The record is read once a day. The data is published under the Apache License 2.0 and is credited on the advisories list.
- Box under the name
- Under the package's name, a box names any advisory that affects the current release, with its fix or that there is none.
- Ranges
- Advisories state ranges, such as from 0.9.12 up to but not including 1.8.8. Each range is checked against every version CRAN has published, using the version rules R itself uses, so a release that came out after the advisory was written is still caught by its range.
- Not the package
- The rating is for the library flaw itself, not for how exposed the R package is, and it is never added up into a figure for the package.
- None known
About
Method, About Method Licence figures come from the Licences
License field of each package's DESCRIPTION file, read the way R itself reads it. No licence file is opened.tools::analyze_license() and R's own licence database, as CRAN's checks read it.| is read, so one string can offer two families.
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
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.
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.
Health
All 13 check platforms pass.
r-devel-linux-x86_64-debian-clangThe unreleased R on Linux, x86_64, debian-clang
OK
- Version checked
- 0.6.2
- Time taken
- 136 s
r-devel-linux-x86_64-debian-gccThe unreleased R on Linux, x86_64, debian-gcc
OK
- Version checked
- 0.6.2
- Time taken
- 97 s
r-devel-linux-x86_64-fedora-clangThe unreleased R on Linux, x86_64, fedora-clang
OK
- Version checked
- 0.6.2
- Time taken
- 97 s
r-devel-linux-x86_64-fedora-gccThe unreleased R on Linux, x86_64, fedora-gcc
OK
- Version checked
- 0.6.2
- Time taken
- 96 s
r-devel-windows-x86_64The unreleased R on Windows, x86_64
OK
- Version checked
- 0.6.2
- Time taken
- 158 s
r-oldrel-macos-arm64The previous release of R on macOS, arm64
OK
- Version checked
- 0.6.2
- Time taken
- 38 s
r-oldrel-macos-x86_64The previous release of R on macOS, x86_64
OK
- Version checked
- 0.6.2
- Time taken
- 135 s
r-oldrel-windows-x86_64The previous release of R on Windows, x86_64
OK
- Version checked
- 0.6.2
- Time taken
- 181 s
r-patched-linux-x86_64The patched release of R on Linux, x86_64
OK
- Version checked
- 0.6.2
- Time taken
- 119 s
r-release-linux-x86_64The current release of R on Linux, x86_64
OK
- Version checked
- 0.6.2
- Time taken
- 119 s
r-release-macos-arm64The current release of R on macOS, arm64
OK
- Version checked
- 0.6.2
- Time taken
- 35 s
r-release-macos-x86_64The current release of R on macOS, x86_64
OK
- Version checked
- 0.6.2
- Time taken
- 125 s
r-release-windows-x86_64The 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)
| Changed | Worst status | OK | Notes | Warnings | Errors |
|---|---|---|---|---|---|
| 25 Oct 2026 | OK | 13 | 0 | 0 | 0 |
| 24 Oct 2026 | Error | 12 | 0 | 0 | 1 |
| 5 Aug 2026 | OK | 13 | 0 | 0 | 0 |
| 1 Aug 2026 | Note | 12 | 1 | 0 | 0 |
| 10 Mar 2026 | OK | 14 | 0 | 0 | 0 |
Since March 2026
Downloads
Method, Downloads Method Download figures count requests logged by each distribution channel. They are not counts of installs or of users, because each channel publishes its own totals and this site reads them.Downloads
- 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
The total is 587 downloads in the last 30 days. It is the sum of 4 channels: CRAN, r2u, autoCRAN and c2d4u.
Over time
Dependencies
Code
Method, Code Method Code metrics come from reading the released source of each package version. The package is never installed, loaded or run.Code metrics
README, vignettes, a NEWS file and the shares read from its help pages. Files kept only in the repository, such as a pkgdown configuration or CI files, are read by the repository scan instead.
- Functions
- 46
- Public exports
- 21
- Lines of R code
- 1,863
- Median complexity
- 2
Functions (46)
Size and composition
Lines by kind (3,565)
| Kind | Lines | Share |
|---|---|---|
| R code | 1,863 | 52% |
| Tests | 461 | 13% |
| Documentation | 1,075 | 30% |
| Guides | 166 | 5% |
Lines by language
| Language | Lines | Share |
|---|---|---|
| R | 2,324 | 65% |
| Rd | 1,075 | 30% |
| Vignettes | 166 | 5% |
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)
Release changes
Tests
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
Documentation
- 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
Datasets
Method, Datasets Method The datasets inside packages are read from their R objects in datasets
data/ folders when the code is analysed. Each object is described by its class, its shape and its columns, and fingerprinted so the same data can be found in other packages.data() are listed, 76,180 on CRAN and 8,045 on Bioconductor, so the list is not every file in data/.
| Dataset | Size | Columns |
|---|---|---|
| gullList of simple features lake polygons and flowlines within a buffer around Gull Lake Michigan. | length 2 | |
| gull_ | 16 × 18 | COMID, FDATE, RESOLUTION, GNIS_ |
| mendotaList of simple features lake polygons and flowlines within a buffer around Lake Mendota. | length 2 | |
| mendota_ | 192 × 15 | comid, fdate, resolution, gnis_ |
| sunapeeList of simple features lake polygons and flowlines within a buffer around Lake Sunapee. | length 2 | |
| sunapee_ | 161 × 15 | comid, fdate, resolution, gnis_ |
| vpu_ | 93 × 9 | DrainageID, UnitID, UnitName, UnitType, Hydroseq, AreaSqKM and 3 more |
People
Method, People Method People on the site are the names packages give them in their Author and maintainer identity
DESCRIPTION files: authors from the author list, and the maintainer from the Maintainer field. Spellings of one name become one person only where the rules below allow it, and when in doubt the rules keep people apart.
Repository
Method, figures by host Method Repository signals are the figures read from the source repository a package links to: stars, forks, issues, commits, releases and the time issues take to close. They are read from GitHub, GitLab, Codeberg and Bitbucket.Repository signals
URL and BugReports fields of its DESCRIPTION file. Read-only mirrors, the cran and bioc accounts on GitHub and git.bioconductor.org, are left out.
- 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)
History
Method, History Method Archived is built from CRAN's archive records, its list of check deadlines and Bioconductor's package records. Every figure is counted to 28 Oct 2026, the day the data was read.Packages leaving
Archived and back
| Archived | Back | CRAN's reason | Kind |
|---|---|---|---|
| 28 Jun 2021 | 17 Jul 2021 | check problems were not corrected in time | Checks not fixed |
| Version | Released | R | Events |
|---|---|---|---|
| 0.6.2 current | 9 Sep 2026 | 4.6.1 | |
| 0.6.1 | 12 Aug 2023 | 4.3.1 | |
| 0.6.0 | 20 Apr 2023 | 4.2.3 | |
| 0.5.9 | 9 Oct 2022 | 4.2.1 | |
| 0.5.8 | 10 Aug 2022 | 4.2.1 | |
| 0.5.7 | 3 Jan 2022 | 4.1.2 | |
| 0.5.6 | 17 Jul 2021 | 4.1.0 | Back on CRAN 17 Jul 2021 |
| 0.5.5 | 6 Jun 2021 | 4.1.0 | Archived 28 Jun 2021 “check problems were not corrected in time” |
Earlier versions (5)
Release notes (0.6.2)
- Move from GitHub to Codeberg
- Address missing standard packages in DESCRIPTION (MichaelChirico)