Tools for Microclimate and Biophysical Ecology
Overview
Tools for translating environmental change into organismal response. Microclimate models to vertically scale weather station data to organismal heights. The biophysical modeling tools include both general models for heat flows and specific models to predict body temperatures for a variety of ectothermic taxa. Additional functions model and temporally partition air and soil temperatures and solar radiation. Utility functions estimate the organismal and environmental parameters needed for biophysical ecology. 'TrenchR' focuses on relatively simple and modular functions so users can create transparent and flexible biophysical models. Many functions are derived from Gates (1980) doi:10.1007/978-1-4612-6024-0 and Campbell and Norman (1988) <isbn:9780387949376>.
*2026-04-28*
Minor version release
- Improved error checking and commenting.
- Vectorized some functions.
- No backwards compatibility is ensured.
- Several bug fixes.
From NEWS.md in the release
Install
Health
- OK13 OK2026-10-15
- ERROR12 OK, 1 ERROR2026-10-14
- OK13 OK2026-08-23
- ERROR12 OK, 1 ERROR2026-08-16
- OK13 OK2026-08-05
Show 5 earlier changesHide 5 earlier changes
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-05-30
- ERROR12 OK, 1 ERROR2026-05-28
- OK13 OK2026-05-07
- NOTE14 NOTE2026-03-10
Documentation
- Help pages
- 86 (1 internal)includes a package overview page
- Examples that run
- 100%85 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 97%
- Return-value docs
- 100%
- Help pages citing references
- 95% with a bibliography file
Downloads
Repository
- PRs merged (all time)
- 97%
- Median days to close, 50 most recently updated closed issues
- 48
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
11 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/trenchproject/trenchr on 2026-10-22.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-04-29 · The repository has a site deploy workflow
pkgdown site last built 2026-04-29
Show all practicesHide 2 practices
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 1.2.1Latest
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.1.1
- RR 4.3.0 released · 2023-04-21
- 0.1.12022-09-21 · diff ↗
- 0.1.02022-07-13
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2022-07-13
- Total releases
- 4 / 4 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.3.1
- Download size
- 2.6 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("TrenchR")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1371/journal.pclm.0000139.
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.