ggspectra 0.3.10

R Package Update

Pedro J. Aphalo






ggspectra pkg

This update to ‘ggspectra’ tracks changes in ‘photobiology’ 0.10.15, ‘photobiologyWavebands’ 0.5.1 and ‘ggplot2’ 3.4.0, as well as in R 4.1.0. These are mostly deprecations that would trigger warnings. Please, be aware that these versions or later are now required.

The corrected definition of PAR() in ‘photobiologyWavebands’ 0.5.1 is code breaking as this change will cause some plots, especially annotations in them to change, when PAR() has been explicitly called in users’ code for quantities that are not photon based, in most cases with a warning.

New x scales and new functions for adding secondary x axes have been implemented.

The changes from version 0.3.9, the current CRAN release, are:

Package documentation web site at:

NOTE: Version 0.3.10 is on its way to CRAN.

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