photobiology 0.10.15

R Package Update

Pedro J. Aphalo






photobiology pkg

One of the features of the package for a long time has been automatic wavelength interpolation when needed in computations involving two spectra. However, until the current version this behaviour did not extend to operations summarizing multiple spectra stored as members of the same collection, as inconsistent wavelength values triggered an error.

This update to ‘photobiology’ enhances the compatibility of ‘ggspectra’ with spct objects that have been reduced in size by removal or “thinning” of intermediate wavelength values in rectilinear regions.

Spectra containing data for multiple spectra in long form were not well suported as members of mspct collection objects, i.e., some operations available for collections without such members were unsupported.

These changes also enhance the compatibilty of package ‘ggspectra’ with the presence of inconsistent wavelengths across members of collections of spectra.

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

The package documentation web site at includes a changelog with information for each release since version 0.1.0.

NOTE: Version 0.10.15 is on its way to CRAN.

Please raise issues concerning bugs or enhancements to this package through GitHub at