photobiology 0.9.26

Changes from version 0.9.25, the most recent CRAN release, are:

  • Move 'tibble' from Imports: to Depends: as the spectral classes are derived from those exported by package 'tibble', making visibility of private specialized methods for tibbles always necessary when using this package.
  • Implement s_mean(), s_median(), s_range(), s_sd(), s_var(), s_sum(), s_prod() and s_mean_se() methods for collections of spectra that operate across spectra returning computed values at each wavelength—i.e. a single computed spectral object.
  • Add support for na.action = "replace" to methods na.omit() and na.exclude().
  • Add parameter na.rm to smooth_spct() methods, with unchanged default behaviour.
  • Fix bug in cps2irrad() not all attributes are copied.
  • Fix bug insmooth_spct(): metadata not copied to returned spectrum.
  • Fix bug in insert_hinges_spct(): metadata not fully copied to returned
  • Implement methods "wexler" and "goff.gratch" for water vapor pressure estimates. Add function water_vp2RH() and water_RH2vp() to compute relative humidity from water VP and air temperature.

Documentation web site at includes all help pages, with output from all examples, and vignettes in HTML format.
NOTE: The updated package is in CRAN.

Please raise issues concerning bugs or enhancements to this package through Bitbucket