Skip to content

bdrc

2.0.1

Bayesian Discharge Rating Curves

0packages depend
3.8Kdownloads / year
97.8%test coverage
13/13checks pass

Overview

About
Maintained by Rafael Daníel ViasFirst published 2021-07-284 releasesCRAN page ↗GitHub ↗

Fits a discharge rating curve based on the power-law and the generalized power-law from data on paired stage and discharge measurements in a given river using a Bayesian hierarchical model as described in Hrafnkelsson et al. (2022) doi:10.1002/env.2711.

Install

Health

CRAN checks
13OK
Slowest check: 17.8 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.47
97.8%
Coverage · measured lines
100%
Documentation · exports
6
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-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 254 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
6%
Documented parameters
91%
Return-value docs
100%
References docs
25%

Downloads

3.8K
CRAN downloads in the past year
Rank #10,326 · ~10/day · ~318/mo
Daily download trend is not available in this view yet.
25630 days
93390 days
3.8K1 year
Compare downloads with other packages →
Also on403 r2u55 autocran807 conda_forge55 c2d4u

Repository

Repository
15Stars
2Forks
4Open issues
0Open PRs
3Releases
870Commits
10Contributors
bayesian-inferencecran-rpower-lawrr-packagerivers
870 commits · Last activity 2026-04-07 · +7.1% stars, 30d

Stars over time

2024-08-12 · 122026-08-04 · 15

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/sor16/bdrc on 2026-08-16.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (1)
RStudio project
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

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

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (4)
Maintainer (1)
Author, Maintainer · added in 2.0.0
Authors (4)
Author, Maintainer · added in 2.0.0
Author, Copyright holder
Copyright holders (1)
Author, Copyright holder
Listed in earlier versions (1)
no longer listed · 1.0.0 to 1.1.0
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 2.0.1Latest
    2026-02-18 · current release · diff ↗
  • 2.0.0
    2026-02-14 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.1.0
    2023-03-19 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.0
    2021-07-28
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-07-28
Total releases
4 / 5 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5.0
Bundled data
7.0 KB / 10 files
Download size
3.1 MB
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("bdrc")
Vias, R. D., Hrafnkelsson, B., Jansson, A. O., & Rognvaldsson, S. (2026). bdrc: Bayesian Discharge Rating Curves (Version 2.0.1) [Computer software]. https://doi.org/10.32614/CRAN.package.bdrc

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

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