{
  "_id": "6a17f0cbacfb0bcc41da70bc",
  "Package": "tealeaves",
  "Version": "1.0.6.1",
  "Date": "2025-06-12",
  "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\"))",
  "Description": "Implements models of leaf temperature using energy\nbalance. It uses units to ensure that parameters are properly\nspecified and transformed before calculations. It allows\nseparate lower and upper surface conductances to heat and water\nvapour, so sensible and latent heat loss are calculated for\neach surface separately as in Foster and Smith (1986)\n<doi:10.1111/j.1365-3040.1986.tb02108.x>. It's straightforward\nto model leaf temperature over environmental gradients such as\nlight, air temperature, humidity, and wind. It can also model\nleaf temperature over trait gradients such as leaf size or\nstomatal conductance. Other references are Monteith and\nUnsworth (2013, ISBN:9780123869104), Nobel (2009,\nISBN:9780123741431), and Okajima et al. (2012)\n<doi:10.1007/s11284-011-0905-5>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/cdmuir/tealeaves,\nhttps://cdmuir.github.io/tealeaves/",
  "BugReports": "https://github.com/cdmuir/tealeaves/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.2.1",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libicu-dev libudunits2-dev",
  "Repository": "https://cdmuir.r-universe.dev",
  "Date/Publication": "2025-06-23 16:00:19 UTC",
  "RemoteUrl": "https://github.com/cdmuir/tealeaves",
  "RemoteRef": "HEAD",
  "RemoteSha": "15b646e697a064fdc9f620f6b6224da03074841d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-28 07:34:50 UTC",
    "User": "root"
  },
  "Author": "Chris Muir [aut, cre] (ORCID: <https://orcid.org/0000-0003-2555-3878>)",
  "Maintainer": "Chris Muir <cdmuir@wisc.edu>",
  "MD5sum": "c7574c5ddd2427aeaf871169768a36e4",
  "_user": "cdmuir",
  "_type": "src",
  "_file": "tealeaves_1.0.6.1.tar.gz",
  "_fileid": "2b4283e136474c6328ab5ce4ffcc0dfd9010cb6c3d850e7b6115213d6c5212b1",
  "_filesize": 632769,
  "_sha256": "2b4283e136474c6328ab5ce4ffcc0dfd9010cb6c3d850e7b6115213d6c5212b1",
  "_created": "2026-05-28T07:34:50.000Z",
  "_published": "2026-05-28T07:37:46.977Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78244818756,
      "time": 142,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7260245614"
    },
    {
      "job": 78244818719,
      "time": 121,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7260238991"
    },
    {
      "job": 78244818864,
      "time": 108,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7260234555"
    },
    {
      "job": 78244818824,
      "time": 90,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7260229710"
    },
    {
      "job": 78244123236,
      "time": 287,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7260200210"
    },
    {
      "job": 78244818813,
      "time": 126,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7260240560"
    },
    {
      "job": 78244818769,
      "time": 86,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7260227996"
    },
    {
      "job": 78244818780,
      "time": 88,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7260228711"
    },
    {
      "job": 78244818767,
      "time": 90,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7260229507"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cdmuir/actions/runs/26561096533",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cdmuir/tealeaves",
  "_commit": {
    "id": "15b646e697a064fdc9f620f6b6224da03074841d",
    "author": "Chris Muir <cdmuir@wisc.edu>",
    "committer": "Chris Muir <cdmuir@wisc.edu>",
    "message": "v1.0.6.1\n",
    "time": 1750694419
  },
  "_maintainer": {
    "name": "Chris Muir",
    "email": "cdmuir@wisc.edu",
    "login": "cdmuir",
    "orcid": "0000-0003-2555-3878",
    "description": "Assistant Professor at the University of Wisconsin - Madison. My lab works on evolution, plant ecophysiology, and biostatistics.",
    "uuid": 5565889
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "units",
      "version": ">= 0.6.0",
      "role": "Depends"
    },
    {
      "package": "checkmate",
      "version": ">= 2.0.0",
      "role": "Imports"
    },
    {
      "package": "crayon",
      "version": ">= 1.3.0",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "furrr",
      "version": ">= 0.1.0",
      "role": "Imports"
    },
    {
      "package": "future",
      "version": ">= 1.10.0",
      "role": "Imports"
    },
    {
      "package": "glue",
      "version": ">= 1.3.0",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "version": ">= 1.5.0",
      "role": "Imports"
    },
    {
      "package": "methods",
      "version": ">= 3.5.0",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "version": ">= 0.3.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 0.4.0",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "version": ">= 1.4.0",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    }
  ],
  "_owner": "cdmuir",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-26",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.0.7",
      "date": "2026-02-05"
    }
  ],
  "_stars": 11,
  "_contributors": [
    {
      "user": "cdmuir",
      "count": 70,
      "uuid": 5565889
    },
    {
      "user": "biolyth",
      "count": 4,
      "uuid": 47139064
    },
    {
      "user": "olivroy",
      "count": 1,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 5565889,
    "type": "user",
    "name": "Chris Muir",
    "description": "Assistant Professor at the University of Wisconsin - Madison. My lab works on evolution, plant ecophysiology, and biostatistics."
  },
  "_downloads": {
    "count": 271,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tealeaves"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/cdmuir/tealeaves",
  "_searchresults": 50,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/tealeaves.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/cdmuir/tealeaves",
  "_realowner": "cdmuir",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2019-05-04"
    },
    {
      "version": "1.0.2",
      "date": "2020-06-07"
    },
    {
      "version": "1.0.3",
      "date": "2020-06-13"
    },
    {
      "version": "1.0.5",
      "date": "2020-06-18"
    },
    {
      "version": "1.0.6",
      "date": "2022-07-20"
    },
    {
      "version": "1.0.6.1",
      "date": "2025-06-23"
    },
    {
      "version": "1.0.7",
      "date": "2026-02-06"
    }
  ],
  "_exports": [
    "Ar",
    "constants",
    "convert_conductance",
    "E",
    "energy_balance",
    "enviro_par",
    "leaf_par",
    "make_constants",
    "make_enviropar",
    "make_leafpar",
    "parameter_names",
    "tleaf",
    "tleaves"
  ],
  "_datasets": [
    {
      "name": "tl_example1",
      "title": "tealeaves example output 1",
      "object": "tl_example1",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "abs_l",
        "abs_s",
        "g_sw",
        "g_uw",
        "leafsize",
        "logit_sr",
        "P",
        "RH",
        "S_lw",
        "S_sw",
        "T_air",
        "wind",
        "T_leaf",
        "value",
        "convergence",
        "R_abs",
        "S_r",
        "H",
        "L",
        "E"
      ],
      "rows": 100,
      "table": true,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "dot-get_dwv",
      "title": "d_wv: water vapour gradient (mol / m ^ 3)",
      "topics": [
        ".get_dwv"
      ]
    },
    {
      "page": "dot-get_Dx",
      "title": "D_x: Calculate diffusion coefficient for a given temperature and pressure",
      "topics": [
        ".get_Dx"
      ]
    },
    {
      "page": "dot-get_gbw",
      "title": "g_bw: Boundary layer conductance to water vapour (m / s)",
      "topics": [
        ".get_gbw"
      ]
    },
    {
      "page": "dot-get_gh",
      "title": "g_h: boundary layer conductance to heat (m / s)",
      "topics": [
        ".get_gh"
      ]
    },
    {
      "page": "dot-get_gr",
      "title": "Gr: Grashof number",
      "topics": [
        ".get_gr"
      ]
    },
    {
      "page": "dot-get_gtw",
      "title": "g_tw: total conductance to water vapour (m/s)",
      "topics": [
        ".get_gtw"
      ]
    },
    {
      "page": "dot-get_H",
      "title": "H: sensible heat flux density (W / m^2)",
      "topics": [
        ".get_H"
      ]
    },
    {
      "page": "dot-get_hvap",
      "title": "h_vap: heat of vaporization (J / mol)",
      "topics": [
        ".get_hvap"
      ]
    },
    {
      "page": "dot-get_L",
      "title": "L: Latent heat flux density (W / m^2)",
      "topics": [
        ".get_L"
      ]
    },
    {
      "page": "dot-get_nu",
      "title": "Nu: Nusselt number",
      "topics": [
        ".get_nu"
      ]
    },
    {
      "page": "dot-get_Pa",
      "title": "P_a: density of dry air (g / m^3)",
      "topics": [
        ".get_Pa"
      ]
    },
    {
      "page": "dot-get_ps",
      "title": "Saturation water vapour pressure (kPa)",
      "topics": [
        ".get_ps"
      ]
    },
    {
      "page": "dot-get_Rabs",
      "title": "R_abs: total absorbed radiation (W / m^2)",
      "topics": [
        ".get_Rabs"
      ]
    },
    {
      "page": "dot-get_re",
      "title": "Re: Reynolds number",
      "topics": [
        ".get_re"
      ]
    },
    {
      "page": "dot-get_sh",
      "title": "Sh: Sherwood number",
      "topics": [
        ".get_sh"
      ]
    },
    {
      "page": "dot-get_Sr",
      "title": "S_r: longwave re-radiation (W / m^2)",
      "topics": [
        ".get_Sr"
      ]
    },
    {
      "page": "dot-get_Tv",
      "title": "Calculate virtual temperature",
      "topics": [
        ".get_Tv"
      ]
    },
    {
      "page": "Ar",
      "title": "Ar: Archimedes number",
      "topics": [
        "Ar"
      ]
    },
    {
      "page": "constants",
      "title": "S3 class constants",
      "topics": [
        "constants"
      ]
    },
    {
      "page": "convert_conductance",
      "title": "Convert conductance units",
      "topics": [
        "convert_conductance"
      ]
    },
    {
      "page": "E",
      "title": "Evaporation (mol / (m^2 s))",
      "topics": [
        "E"
      ]
    },
    {
      "page": "energy_balance",
      "title": "Calculate leaf energy balance",
      "topics": [
        "energy_balance"
      ]
    },
    {
      "page": "enviro_par",
      "title": "S3 class enviro_par",
      "topics": [
        "enviro_par"
      ]
    },
    {
      "page": "leaf_par",
      "title": "S3 class leaf_par",
      "topics": [
        "leaf_par"
      ]
    },
    {
      "page": "make_parameters",
      "title": "Make lists of parameters of leaf, environmental, or constant parameters",
      "topics": [
        "make_constants",
        "make_enviropar",
        "make_leafpar",
        "make_parameters"
      ]
    },
    {
      "page": "parameter_names",
      "title": "Get vector of parameter names",
      "topics": [
        "parameter_names"
      ]
    },
    {
      "page": "tealeaves",
      "title": "'tealeaves' package",
      "topics": [
        "tealeaves"
      ]
    },
    {
      "page": "tl_example1",
      "title": "tealeaves example output 1",
      "topics": [
        "tl_example1"
      ]
    },
    {
      "page": "tleaves",
      "title": "'tleaves': find leaf temperatures for multiple parameter sets",
      "topics": [
        "tleaf",
        "tleaves"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cdmuir/tealeaves/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cdmuir/tealeaves/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "checkmate",
    "cli",
    "codetools",
    "crayon",
    "digest",
    "dplyr",
    "furrr",
    "future",
    "generics",
    "globals",
    "glue",
    "lifecycle",
    "listenv",
    "magrittr",
    "parallelly",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "Rcpp",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyselect",
    "units",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "parameter-functions.Rmd",
      "filename": "parameter-functions.html",
      "title": "Defining parameters as functions of other parameters",
      "author": "Chris Mur",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2020-06-06 06:22:58",
      "modified": "2020-06-13 06:10:41",
      "commits": 2
    },
    {
      "source": "tealeaves-introduction.Rmd",
      "filename": "tealeaves-introduction.html",
      "title": "Introduction to the tealeaves package",
      "author": "Chris Muir",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Minimum worked example",
        "Replace default parameters",
        "Environmental gradients",
        "Parallel processing"
      ],
      "created": "2018-11-11 17:00:34",
      "modified": "2022-07-20 01:36:07",
      "commits": 14
    },
    {
      "source": "tealeaves-intermediate.Rmd",
      "filename": "tealeaves-intermediate.html",
      "title": "tealeaves: Intermediate Users",
      "author": "Chris Mur",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2018-11-29 03:51:18",
      "modified": "2020-06-13 06:10:41",
      "commits": 6
    }
  ],
  "_score": 6.694605198933568,
  "_indexed": true,
  "_nocasepkg": "tealeaves",
  "_universes": [
    "cdmuir"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.6.1",
      "date": "2026-05-28T07:37:09.000Z",
      "distro": "noble",
      "commit": "15b646e697a064fdc9f620f6b6224da03074841d",
      "fileid": "88f3184be25966b4d85717b85b32bd002828c326673b5680a5ffb60733c0e219",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdmuir/actions/runs/26561096533"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.6.1",
      "date": "2026-05-28T07:36:52.000Z",
      "distro": "noble",
      "commit": "15b646e697a064fdc9f620f6b6224da03074841d",
      "fileid": "f43f00b9670b73bb37671ea829efb94ea19afd6d4d07a8821d98e05da1f2ffcb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdmuir/actions/runs/26561096533"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.6.1",
      "date": "2026-05-28T07:36:41.000Z",
      "commit": "15b646e697a064fdc9f620f6b6224da03074841d",
      "fileid": "8e7a36b3c75935f78ee73bf65a6b46ad8364d51bed30668e92cb6bd913eba9b6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdmuir/actions/runs/26561096533"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.6.1",
      "date": "2026-05-28T07:36:25.000Z",
      "commit": "15b646e697a064fdc9f620f6b6224da03074841d",
      "fileid": "29ed9995df904ea7307af6b3270d28cf7960efe572f039afeba14cd5064bb06d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdmuir/actions/runs/26561096533"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.6.1",
      "date": "2026-05-28T07:37:17.000Z",
      "commit": "15b646e697a064fdc9f620f6b6224da03074841d",
      "fileid": "60aca0495c5d235884c8fe329f663fa34e36d5ba889d2086040616be93be48aa",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cdmuir/actions/runs/26561096533"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.6.1",
      "date": "2026-05-28T07:36:09.000Z",
      "commit": "15b646e697a064fdc9f620f6b6224da03074841d",
      "fileid": "95b4b9d809d0572318684cc80019eb64090a08730b6e72e15e2d7ab0bb0ad164",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdmuir/actions/runs/26561096533"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.6.1",
      "date": "2026-05-28T07:36:09.000Z",
      "commit": "15b646e697a064fdc9f620f6b6224da03074841d",
      "fileid": "217de353a090c4d9ff515e40c409e783e0123cf72d598465ca2156ca79deac37",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdmuir/actions/runs/26561096533"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.6.1",
      "date": "2026-05-28T07:36:13.000Z",
      "commit": "15b646e697a064fdc9f620f6b6224da03074841d",
      "fileid": "aaeb9b2825511726a8666561eaba534b749f97361f378f3d09431796de62be1c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdmuir/actions/runs/26561096533"
    }
  ]
}