The main changes from version 0.9.19, the most recent CRAN release, are:
- To improve clarity of user code, define wrappers for methods
max()
,min()
,range()
,midpoint()
, andspread()
with names withwl_
prepended (e.g.wl_max()
). - Rename method
spread()
toexpanse()
and deprecate use ofspread()
. In the case ofwl_expanse()
andexpanse()
the new names prevent a name clash withtidyr::spread()
. - Redefine all ‘
as.
‘ class-coercion functions into generic methods and add specialisations. Default behaviour remains unchanged. - Add class-coercion methods to and from matrix (and transfer corresponding functions from package ‘photobiologyInOut’).
- Add function
relative_AM()
to compute relative air mass from sun elevation. - Add functions for calculation of saturated water vapour pressure from air temperature
water_vp_sat()
and dew point from water vapour pressurewater_dp()
.
Documentation web site at http://docs.r4photobiology.info/photobiology/ includes all help pages, with output from all examples, and vignettes in HTML format.
NOTE: The updated package can be installed from CRAN.
Please raise issues concerning bugs or enhancements to this package through Bitbucket https://bitbucket.org/aphalo/photobiology/issues