Fisheries Analysis and Modeling Simulator
Overview
Simulates the dynamics of exploited fish populations using the Jones modification of the Beverton-Holt equilibrium yield equation to compute yield-per-recruit and dynamic pool models (Ricker 1975) https://publications.gc.ca/site/eng/480738/publication.html. Allows users to evaluate minimum, slot, and inverted length limits on exploited fisheries using specified life history parameters. Users can simulate population under a variety of conditional fishing mortality and conditional natural mortality. Calculated quantities include number of fish harvested and dying naturally, mean weight and length of fish harvested, number of fish that reach specified lengths of interest, total number of fish and biomass in the population, and stock density indices.
- This is the start of the next version
- Removed
yprBH_MinLL_fixed()andyprBH_Min_var(), and replaced with a single functionypr_BH_MinLL(). The new function will allow for single or multiple minimum length limits with the same function. - Modified
ypr_BH_MinLL()to require vector input for minLL, cf, and cm. Instead of asking users to supply min, max, and increment for each, the user now supplies a single or multiple values in a vector. The vector can be of any sequence. - Modified
ypr_BH_SlotLL()to require vector input for cm. Instead of asking users to supply min, max, and increment for each, the user now supplies a single or multiple values in a vector. The vector can be of any sequence. - Renamed
dpmBH_MinLL_fixed()todpmBH_MinLL()for consistent function names. iCheckCondMort(): Added. Currently only used inshowMorts(). However, I think that this is more general than some other functions and, thus, could replaceiCheckcf(),iCheckcm(),iCheckcfVect(),iCheckcmVect(), and possibly a few others.iErrGT(): Modified to allow for checks on a vector rather than just a single value, which it still works for.iErrLT(): Modified to allow for checks on a vector rather than just a single value, which it still works for.seeMorts(): Added.- Internal checks have been expanded to cover more user inputs and provide better warnings.
_func()have are no longer "exported". They remain in the package but a help document is not created for them. These functions are not intended to be directly interacted with by the user.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK13 OK2026-05-02
Show 2 earlier changesHide 2 earlier changes
- ERROR11 OK, 1 ERROR2026-04-25
- OK14 OK2026-03-10
Documentation
The repository also keeps web-only articles.
- Help pages
- 38 (31 internal)
- Examples that run
- 100%7 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 3%
Downloads
Repository
- PRs merged (all time)
- 96%
- Median days to close, 50 most recently updated closed issues
- 2
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Releases over time
Issues over time
PRs over time
7 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/fishr-core-team/rfams on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.0.3Latest2026-03-17 · current release · diff ↗ ·
removed 6 exports
dpmBH, dpmBH_func, yprBH_func, yprBH_minLL_fixed, yprBH_minLL_var, yprBH_slot_funcadded 3 exports
dpmBH_MinLL, seeMorts, yprBH_MinLL - 0.0.22026-02-10
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2026-02-10
- Total releases
- 2 / 1 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 4.1.0
- Download size
- 128 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("rFAMS")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.