Package: tealeaves
Version: 1.0.7
Date: 2026-02-05
Title: Solve for Leaf Temperature Using Energy Balance
Authors@R: person("Chris", "Muir", role = c("aut", "cre"), email = "cdmuir@wisc.edu", comment = c(ORCID = "0000-0003-2555-3878"))
Depends: R (>= 4.1.0), units (>= 0.6.0)
Imports: checkmate (>= 2.0.0), crayon (>= 1.3.0), dplyr (>= 1.0.0),
        furrr (>= 0.1.0), glue (>= 1.3.0), magrittr (>= 1.5.0), methods
        (>= 3.5.0), progressr (>= 0.18.0), purrr (>= 0.3.0), rlang (>=
        0.4.0), stringr (>= 1.4.0)
Suggests: covr, ggplot2, knitr, rmarkdown, testthat, tidyr
Description: 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>.
License: MIT + file LICENSE
URL: https://github.com/cdmuir/tealeaves,
        https://cdmuir.github.io/tealeaves/
BugReports: https://github.com/cdmuir/tealeaves/issues
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.3.3
VignetteBuilder: knitr
NeedsCompilation: no
Packaged: 2026-02-05 18:17:05 UTC; cdmuir
Author: Chris Muir [aut, cre] (ORCID: <https://orcid.org/0000-0003-2555-3878>)
Maintainer: Chris Muir <cdmuir@wisc.edu>
Repository: CRAN
Date/Publication: 2026-02-06 11:10:02 UTC
Built: R 4.6.0; ; 2026-04-26 14:28:26 UTC; unix
