Skip to content

TrenchR

1.2.1Package record

Tools for Microclimate and Biophysical Ecology

0packages depend
3.7Kdownloads / year
97.3%test coverage
13/13flavors OK

Overview

About

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>.

Changes in 1.2.1

*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

CRAN checks
13OK
Slowest check: 4.5 min · r-oldrel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 1.2.1
READMEYes · 541 wordsVignettesYes · 4 · dynamicNEWSYes · 67% structured · mentions 1.2.1Citation fileYes · cites a publicationWebsiteYes · pkgdown
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

3.7K
CRAN downloads in the past year
Rank #9,148 · ~10/day · ~308/mo
Daily download trend is not available in this view yet.
33530 days
1.1K90 days
3.7K1 year
Compare downloads with other packages →
Also on107 r2u3 autocran

Repository

18Stars
8Forks
0Open issues
0Open PRs
4Releases
770Commits
14Commit identities
770 commits · Last activity 2026-04-29 · 0% stars, 30d
Responsiveness
How these are sampled
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

2025-09-22 · 132026-08-07 · 18
PracticesBeta

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.

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 (2)
Code of conductContributing guide
Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-04-29 · The repository has a site deploy workflow

pkgdown site last built 2026-04-29

Coverage (1)
Coverage reporting
Show all practicesHide 2 practices
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing TrenchR adds 18 packages (13 with compiled code, 10 MB of source tarballs). Heaviest: deSolve 1.9 MB, rbibutils 1.1 MB, mvtnorm 1.0 MB.

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

Nothing depends on this yet.

Datasets

People & History

People (10)
Author, Maintainer since 0.1.0 (2022)
Author
Author
Contributor
Releases (4)

Pick two releases to compare their code metrics.

  • 1.2.1Latest
    record
    2026-04-29 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1.1
    record
    2023-09-14 · diff ↗ ·
    added 1 export
    T_sky
  • R
    R 4.3.0 released · 2023-04-21
  • 0.1.1
    record
    2022-09-21 · diff ↗
  • 0.1.0
    record
    2022-07-13
  • R
    R 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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for TrenchR version 1.2.1 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

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.

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