Releases: cdmuir/photosynthesis
v2.1.4
v2.1.3
v2.1.2
- Updated CITATION using
bibentry()
instead ofcitEntry()
- Resolved purrr deprecations
- removed
expect_no_condition()
from unit tests to resolved issue #12 - Replaced
dplyr::progress_estimated()
withprogress::progress_bar()
- Fixed error in
photo(..., use_tealeaves = TRUE)
. User-defined changes in stomatal conductance ratio were not being passed to tealeaves. - Added evaporation (E) to
photo()
andphotosynthesis()
output whenuse_tealeaves = TRUE
- Fixed issue with lifecycle badges
- Added new function
simulate_error()
to simulate measurement error in gas exchange measurements.
v2.1.1
- Added Bayesian options to fit light-response and light respiration models via
fit_photosynthesis(..., .method = "brms")
- Preferred method for fitting data to models is
fit_photosynthesis()
which performs all checks and manipulations prior to passing arguments to variousfit_
functions. - Deprecated
fit_r_light_kok()
,fit_r_light_WalkerOrt()
,fit_r_light_yin()
in favor offit_r_light2()
. The new function uses non-standard evaluation to replace variable names as indplyr::rename()
. It will also extend functionality to enable Bayesian fitting using brms and does not output a plot. - Added Bayesian fitting method to
fit_aq_response2()
using brms package. - Deprecated
fit_aq_response()
in favor offit_aq_response2()
. The new function uses non-standard evaluation to replace variable names as indplyr::rename()
. It will also extend functionality to enable Bayesian fitting using brms and does not output a plot. - Fixed bug with setting upper bound for search in
find_A()
- Addressed warnings about deprecated arguments in tidyselect and ggplot2
- Added
C_i
(intercellular CO2 concentration) to output fromphoto()
andphotosynthesis()
photosynthesis 2.1.0
- Commented out examples that took a long time to run
- Added
progress
option tofit_many()
to toggle progress bar - We removed large files from help subdirectory
- Divided large vignette into smaller vignettes and removed figures to reduce file size
- Updated CITATION
- There is a new vignette on C3 photosynthesis modeling recommendations (modeling-recommendations)
- Under the hood, many changes to
photosynthesis()
, but performance should be the same - Changed default
C_air
from 41 Pa to 420 umol/mol - Changed default
O
from 21.27565 kPa to 0.21 mol/mol - Added optional feature to calculate mesophyll conductance to CO2 (g_mc) as sum of internal airspace (
g_iasc
) and liquid-phase (g_liqc
) conductances. - To avoid redundancy,
photo_parameters
is single source of truth for all input parameters tophoto()
andphotosynthesis()
. - Fixed error in
gc2gw()
andgw2gc()
and migrated to gunit version 1.0.2. Legacy version used version for still air in boundary layer conductance conversions. The corrected version includes modification for laminar flow in the boundary layer. Legacy version can be obtained with optionuse_legacy_version = TRUE
. - Changed default conductance units from
[umol / m ^ 2 / s / Pa]
to[mol / m ^ 2 / s]
- Changed
<-
to=
in many instances - Changed
%>%
to|>
in many instances
photosynthesis 2.0.1
- corrected reference for
temp_resp1
andtemp_resp2
. (#6)
photosynthesis 2.0.0
-
Added analytical tools for plant ecophysiology, including fitting stomatal
conductance models, photosynthetic responses to light, CO2, and temperature,
light respiration, as well as tools for performing sensitivity analyses. -
Added tests for new functions.
-
Added new vignette to include examples of new analytical functions.
photosynthesis 1.0.2
- Fixed bug with crossing parameters in
photosynthesis()
that was introduced whenuse_tealeaves = TRUE
because of changes in the tealeaves package. This led to crossing all parameter values with all unique values of calculatedT_sky
, which was incorrect. Added unit tests to ensuring that crossing is done correctly undertests/test-photosynthesis-crossing.R
- Fixed bug in
photosynthesis()
caused by new version of dplyr. - In
enviro_par()
, "sky" temperature (T_sky
) can now be provided directly as a values (in K) or as a function (the default). - If
parallel = TRUE
inphotosynthesis()
, future usesplan("multisession")
rather thanplan("multiprocess")
. - Added full URL for
CONDUCT.md
in README - Fixed cross-references in .Rd files
photosynthesis 1.0.1
Release to be archived with revision of "Is amphistomy an adaptation to high light? Optimality models of stomatal traits along light gradients."
photosynthesis 1.0.0
Description: Simulate C3 photosynthesis using the Farquhar, von Caemmerer, Berry (1980) model as described in Buckley and Diaz-Espejo (2015). It uses units to ensure that parameters are properly specified and transformed before calculations. Temperature response functions get automatically "baked" into all parameters based on leaf temperature following Bernacchi et al. (2002). The package includes boundary layer, cuticular, stomatal, and mesophyll conductances to CO2, which each can vary on the upper and lower portions of the leaf. Use straightforward functions to simulate photosynthesis over environmental gradients such as Photosynthetic Photon Flux Density (PPFD) and leaf temperature, or over trait gradients such as CO2 conductance or photochemistry.