Skip to content

BCGcalc

2.3.1Package record

Biological Condition Gradient, Calculator

0packages depend
790downloads / year
80.2%test coverage
13/13flavors OK

Overview

About

Functions to calculate Biological Condition Gradient (BCG) using input files with one row per sample with metric values and site classes as columns. A second file with the BCG Rules (example included) to define the memberships is also needed. The three main functions convert metric scores to metric memberships following fuzzy set BCG Rules (BCG.Level.Assignment), combine metric memberships to level memberships according to BCG Rules (BCG.Level.Membership), and then assign a BCG primary and secondary level based on level memberships (BCG.Level.Assignment). Originally developed as a package for use with BCG for Puget Lowland/Willamette Valley but has been further enhanced for use with multiple communities (benthic macroinvertebrates, fish, periphyton, or coral) and different rule sets. Oregon and Washington reference - "Stamp, J. and J. Gerritsen. 2018. Calibration of the Biological Condition Gradient (BCG) for Macroinvertebrate Assemblages in Puget Lowland/Willamette Valley Freshwater Wadeable Streams. Prepared by Tetra Tech for the US EPA Office of Water, Office of Science and Technology and US EPA Region 10." BCG process documentation - "USEPA. 2016. A Practitioner’s Guide to the Biological Condition Gradient - A Framework to Describe Incremental Change in Aquatic Ecosystems. EPA 842-R-16-001. Office of Science and Technology, Washington, DC 20460."

Changes in 2.3.1
  • refactor: Bump version number for resubmittal to CRAN, Issue \#100

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.4 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OKNow
  • OK7 OK2026-08-09
Advisories

none known

Documentation

In release 2.3.1
READMEYes · 413 wordsVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 2.3.1Citation fileNo
Help pages
7 (1 internal)includes a package overview page
Examples that run
100%4 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

790
CRAN downloads in the past year
Rank #15,720 · ~2/day · ~66/mo
Daily download trend is not available in this view yet.
25330 days
79090 days
7901 year
Compare downloads with other packages →
Also on20 r2u27 autocran

Repository

3Stars
2Forks
10Open issues
1Open PRs
10Releases
377Commits
3Commit identities
bcgbiologicalconditiongradientmetricr-package
377 commits · Last activity 2026-08-28 · Default branch at 2.3.1.9007, ahead of CRAN 2.3.1 (checked 2026-10-22) · Discussions: 1 post
Responsiveness
How these are sampled
PRs merged (all time)
75%
Median days to close, 50 most recently updated closed issues
1
Median days to close, 50 most recently updated closed PRs
0

Forks over time

2026-08-09 · 12026-09-09 · 2
PracticesBeta

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

Checks run against github.com/leppott/bcgcalc on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (1)
Issue templates
Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-08-28 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting
Show all practicesHide 2 practices
Reproducibility and dev environment (1)
data-raw/
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
17 external dependencies (excludes base and recommended)

Installing BCGcalc adds 20 packages (13 with compiled code, 19 MB of source tarballs). Heaviest: stringi 11 MB, Rcpp 1.8 MB, vctrs 1.0 MB.

Depends (1)
R >= 3.5.0
Imports (2)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (4)
Author, Maintainer since 2.3.1 (2026)
Contributor
Contributor
Contributor
Releases (1)
  • 2.3.1Latest
    2026-08-08 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-08-08
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5.0
Bundled data
337 KB / 2 files
Download size
2.3 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("BCGcalc")
Leppo, E. W., Block, B., Hedin, M., & Stamp, J. (2026). BCGcalc: Biological Condition Gradient, Calculator (Version 2.3.1) [Computer software]. https://doi.org/10.32614/CRAN.package.BCGcalc

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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

From data release v2026-10-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