Solve for Leaf Temperature Using Energy Balance
Overview
Implements models of leaf temperature using energy balance. It uses units to ensure that parameters are properly specified and transformed before calculations. It allows separate lower and upper surface conductances to heat and water vapour, so sensible and latent heat loss are calculated for each surface separately as in Foster and Smith (1986) doi:10.1111/j.1365-3040.1986.tb02108.x. It's straightforward to model leaf temperature over environmental gradients such as light, air temperature, humidity, and wind. It can also model leaf temperature over trait gradients such as leaf size or stomatal conductance. Other references are Monteith and Unsworth (2013, ISBN:9780123869104), Nobel (2009, ISBN:9780123741431), and Okajima et al. (2012) doi:10.1007/s11284-011-0905-5.
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 29 (1 internal)includes a package overview page
- Examples that run
- 100%24 run in a plain check
- Exported functions with examples
- 70%
- Documented parameters
- 100%
- Return-value docs
- 60%
- Help pages citing references
- 21%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 26
- Median days to close, 50 most recently updated closed PRs
- 48
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
9 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/cdmuir/tealeaves on 2026-10-21.
Show all practicesHide 2 practices
Dependencies
Installing tealeaves adds 30 packages (17 with compiled code, 22 MB of source tarballs). Heaviest: stringi 11 MB, Rcpp 1.8 MB, vctrs 1.0 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.0.7Latest
- 1.0.6.12025-06-23 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 1.0.62022-07-20 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 1.0.52020-06-18 · diff ↗
- 1.0.32020-06-13 · diff ↗
- 1.0.22020-06-07 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.0.02019-05-04
- RR 3.6.0 released · 2019-04-26
Package metadata
- First published
- 2019-05-04
- Total releases
- 7 / 7 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 5.8 KB / 1 file
- Download size
- 318 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("tealeaves")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1093/aobpla/plz054.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.