Skip to content

nhdplusTools

NHDPlus Tools

v1.5.0 · May 26, 2026 · CC0

Description

Tools for traversing and working with National Hydrography Dataset Plus (NHDPlus) data. All methods implemented in 'nhdplusTools' are available in the NHDPlus documentation available from the US Environmental Protection Agency <https://www.epa.gov/waterdata/basic-information>.

Downloads

3.8K

Last 30 days

2089th

10.6K

Last 90 days

29.2K

Last year

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

CRAN Check Status

13 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 OK
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 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘dataRetrieval’

Packages suggested but not available for checking:
  'ggmap', 'StreamCatTools'

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 30, 2026
ERROR 11 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE May 24, 2026
ERROR r-devel-linux-x86_64-fedora-clang

tests

Running ‘testthat.R’ [93s/151s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > 
  > test_check("nhdplusTools")
  Loading required package: nhdplusTools
  Starting 2 test processes.
  Saving _problems/test
...[truncated]...
6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   7. └─testthat::expect_error(make_node_topology(y), "Not all non zero toids are in ids")
  
  [ FAIL 2 | WARN 5 | SKIP 58 | PASS 314 ]
  Error:
  ! Test failures.
  Execution halted
ERROR r-devel-linux-x86_64-fedora-gcc

tests

Running ‘testthat.R’ [101s/267s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > 
  > test_check("nhdplusTools")
  Loading required package: nhdplusTools
  Starting 2 test processes.
  Saving _problems/tes
...[truncated]...
6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   7. └─testthat::expect_error(make_node_topology(y), "Not all non zero toids are in ids")
  
  [ FAIL 2 | WARN 5 | SKIP 58 | PASS 314 ]
  Error:
  ! Test failures.
  Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 16, 2026
ERROR r-release-windows-x86_64

examples

Running examples in 'nhdplusTools-Ex.R' failed
The error most likely occurred in:

> ### Name: get_waterbody_index
> ### Title: Get Waterbody Index
> ### Aliases: get_waterbody_index
> 
> ### ** Examples
> 
> 
> source(system.file("extdata/sample_dat
...[truncated]...
terbody"), 5070)
> 
> points <- sf::st_transform(
+   sf::st_sfc(sf::st_point(c(-89.356086, 43.079943)),
+              crs = 4326), 5070)
> 
> get_waterbody_index(waterbodies, points,
+                     search_radius = units::set_units(500, "m"))
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (8)

Dependency Network

Dependencies Reverse dependencies hydroloom dataRetrieval dplyr sf units magrittr jsonlite httr xml2 R.utils tidyr maptiles mapsf fst arrow +4 more dependencies StreamCatTools elfgen amadeus geospatialsuite hydroloom lakefetch manureshed ncdfgeom nhdplusTools

Version History

39 tracked
updated 1.5.0 ← 1.4.2 diff May 26, 2026
new 1.4.2 Mar 10, 2026
updated 1.4.2 ← 1.4.1 diff Jan 20, 2026
updated 1.4.1 ← 1.4.0 diff Dec 4, 2025
updated 1.4.0 ← 1.3.2 diff Nov 18, 2025
updated 1.3.2 ← 1.3.1 diff Jun 9, 2025
updated 1.3.1 ← 1.3.0 diff Feb 14, 2025
updated 1.3.0 ← 1.2.1 diff Dec 17, 2024
updated 1.2.1 ← 1.2.0 diff Jun 4, 2024
updated 1.2.0 ← 1.1.0 diff May 27, 2024
updated 1.1.0 ← 1.0.0 diff May 13, 2024
updated 1.0.0 ← 0.7.1 diff Oct 1, 2023
updated 0.7.1 ← 0.7.0 diff Aug 30, 2023
updated 0.7.0 ← 0.6.2 diff Aug 28, 2023
updated 0.6.2 ← 0.6.1 diff Mar 9, 2023