fb4package: 'Fish Bioenergetics 4.0' Model Implementation with High-Performance 'TMB' Backend

An implementation of the 'Fish Bioenergetics 4.0' framework described in Deslauriers et al. (2017) <doi:10.1080/03632415.2017.1377558>. Provides automated parameter optimization, multi-prey diet modeling, and comprehensive energy budget simulations for fisheries research and aquaculture applications. An optional 'TMB' (Template Model Builder) backend delivers 10-50x speedup in maximum likelihood estimation while maintaining full backward compatibility. Includes species-specific parameter databases and tools for modeling fish growth, consumption, and metabolism under varying environmental conditions.

Version: 2.0.0
Depends: R (≥ 4.0.0)
Imports: graphics, grDevices, stats, tools, utils, Rcpp, TMB (≥ 1.7.0)
LinkingTo: TMB, RcppEigen
Suggests: testthat (≥ 3.0.0), knitr, rmarkdown, pkgdown, microbenchmark, future, furrr, spelling
Published: 2026-05-07
DOI: 10.32614/CRAN.package.fb4package (may not be active yet)
Author: Hans Ttito [aut, cre]
Maintainer: Hans Ttito <kvttitos at gmail.com>
BugReports: https://github.com/HansTtito/fb4package/issues
License: MIT + file LICENSE
URL: https://hansttito.github.io/fb4package/, https://github.com/HansTtito/fb4package
NeedsCompilation: yes
Language: en-US
Citation: fb4package citation info
Materials: README, NEWS
CRAN checks: fb4package results

Documentation:

Reference manual: fb4package.html , fb4package.pdf
Vignettes: Case Study: Chinook Salmon Bioenergetics (source, R code)
Introduction to fb4package (source, R code)
Exploring the Species Parameter Database (source, R code)
Statistical estimation strategies (source, R code)
Temperature Sensitivity and Climate Change Scenarios (source, R code)

Downloads:

Package source: fb4package_2.0.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): fb4package_2.0.0.tgz, r-oldrel (arm64): fb4package_2.0.0.tgz, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=fb4package to link to this page.