hydroloom
R package hydroloom by doi-usgs — release notes from GitHub.
USGS puts a type system over its river network toolkit so errors surface at dispatch
◆Recent moves
- 2mo ago
hydroloom v1.2.0
⚡ SPARKAn S3 class hierarchy — hy_topo, hy_leveled, hy_node, hy_flownetwork — is stamped automatically by hy() and by producer functions, enabling dispatch-time validation and guided error messages. Outlet detection becomes an explicit rule rather than an inference, accepting reserved values, NA, implicit absence and unique-per-outlet ids; calls that previously errored on NA or orphan toid now succeed. Existing data.frame and hy code keeps working.
View source ↗ - 5mo ago
Test tolerances relaxed for CRAN Fedora checks
Loosens test tolerances so CRAN's Fedora checks pass. Infrastructure only.
View source ↗ - 5mo ago
Network subsetting and divergence-routed accumulation
subset_network() arrives with support for including diversions emanating from a basin, accumulate_downstream() gains total-upstream and divergence-routed modes, and make_index_ids() is rewritten with to, from and both modes — deprecating make_fromids() and format_index_ids() in the process.
View source ↗ - 10mo ago
Sort and indexing fixes
Bug fixes for sort_network with duplicate extended attributes, plus id-specific search in index_points_to_lines and error handling.
View source ↗ - 1y ago
Upmain and downmain navigation for non-dendritic networks
Non-dendritic support deepens: upmain and downmain navigation in navigate_network_dfs() and make_index_ids(), a to_flownetwork() representation, and navigation that now follows a diverted path back to a main path rather than only traditional tributaries.
View source ↗ - 2y ago
Initial release completing the nhdplusTools migration
The founding release, completing the migration of network functions out of nhdplusTools: the hy() S3 object, depth-first navigation, non-dendritic sorting, stream order and stream calculator attributes, linear indexing without measure attributes, and support for both NHDPlus and NHD 24k naming.
View source ↗