The main changes from version 0.9.20, the most recent CRAN release, are:

  • Handle gracefully attempts to apply smooth_spct() method to spectra containing NAs. (Warn and return as is.)
  • Add parameter na.rm to peaks(), valleys() and related methods and functions.
  • Add parameter na.rm to normalize() methods.
  • Option "photobiology.verbose" is initialized to the value of option "verbose" at the time the package is attached, making ‘photobiology’ obey the --verbose command line switch of R.
  • If photobiology.verbose == TRUE, starting from this version the presence of NAs in spectral data triggers warnings.

Documentation web site at includes all help pages, with output from all examples, and vignettes in HTML format.
NOTE: The updated package can be installed from the CRAN-like repository at

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

Share with

Leave a Reply