Skip to content

hydraulics

0.7.2

Basic Pipe and Open Channel Hydraulics

0packages depend
4.7Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Ed MaurerFirst published 2020-05-1815 releasesCRAN page ↗GitHub ↗

Functions for basic hydraulic calculations related to water flow in circular pipes both flowing full (under pressure), and partially full (gravity flow), and trapezoidal open channels. For pressure flow this includes friction loss calculations by solving the Darcy-Weisbach equation for head loss, flow or diameter, plotting a Moody diagram, matching a pump characteristic curve to a system curve, and solving for flows in a pipe network using the Hardy-Cross method. The Darcy-Weisbach friction factor is calculated using the Colebrook (or Colebrook-White equation), the basis of the Moody diagram, the original citation being Colebrook (1939) doi:10.1680/ijoti.1939.13150. For gravity flow, the Manning equation is used, again solving for missing parameters. The derivation of and solutions using the Darcy-Weisbach equation and the Manning equation are outlined in many fluid mechanics texts such as Finnemore and Maurer (2024, ISBN:978-1-264-78729-6). Some gradually- and rapidly-varied flow functions are included. For the Manning equation solutions, this package uses modifications of original code from the 'iemisc' package by Irucka Embry.

Install

Health

CRAN checks
13OK
Slowest check: 2.6 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
9
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-06-08
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 440 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
89%
References docs
0%

Downloads

4.7K
CRAN downloads in the past year
Rank #12,041 · ~13/day · ~393/mo
Daily download trend is not available in this view yet.
16930 days
84090 days
4.7K1 year
Compare downloads with other packages →
Also on130 r2u30 autocran39 c2d4u

Repository

Repository
10Stars
6Forks
1Open issues
1Open PRs
0Releases
132Commits
4Contributors
License GPL-3.0 · 132 commits · Last activity 2025-10-10

Repository practices

Upstream repositoryBeta

3 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/edm44/hydraulics on 2026-08-23.

Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.6.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author, Contributor · added in 0.7.1
Contributors (1)
Author, Contributor · added in 0.7.1
Listed in earlier versions (1)
no longer listed · 0.2.0 to 0.7.0
Package Timeline

15 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.7.2Latest
    2025-10-10 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.7.1
    2024-11-18 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.7.0
    2024-03-06 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.6.1
    2022-12-06 · diff ↗
  • 0.6.0
    2022-11-09 · diff ↗
  • 0.5.0
    2022-10-11 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.4.1
    2022-03-07 · diff ↗
  • 0.4.0
    2022-01-04 · diff ↗
  • 0.3.0
    2021-05-19 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.2.4
    2021-02-25 · diff ↗
Show 6 earlier events
  • 0.2.3
    2020-12-13 · diff ↗
  • 0.2.2
    2020-08-26 · diff ↗
  • 0.2.1
    2020-08-02 · diff ↗
  • 0.2.0
    2020-07-02 · diff ↗
  • 0.1.0
    2020-05-18
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-05-18
Total releases
15 / 6 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.6.0
Download size
871 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("hydraulics")
Maurer, E., & Embry, I. (2025). hydraulics: Basic Pipe and Open Channel Hydraulics (Version 0.7.2) [Computer software]. https://doi.org/10.32614/CRAN.package.hydraulics

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 hydraulics version 0.7.2 [Data set]. HJJB, LLC. Data release v2026-08-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-25, 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