ggspectra 0.3.4

The changes from version 0.3.3-1, the current CRAN release, are:

  • Update for compatibility with code-breaking changes in ‘tidyr’ (>= 1.0.0).
  • Minor bug fixes.
  • Make autoplot.object_spct() robust to bad-input data to avoid artefacts on stacked Rfr/Afr/Tfr plots. Data are now sanitized with a warning when off-range.

Documentation web site at https://docs.r4photobiology.info/ggspectra/.

NOTE: The updated package is on its way to CRAN.

Please raise issues concerning bugs or enhancements to this package through Bitbucket at https://bitbucket.org/aphalo/ggspectra/issues

photobiology 0.9.29

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

  • Add clean.object_spct(), na.rm.object_spct() and na.omit.object_spct() methods, which were missing and needed for updating package ‘ggspectra’.
  • Correct small off-range error in Ler_leaf.spct data:Tfr + Rfr = 1.0028 in the worse case instead of Tfr + Rfr <= 1.

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 is in CRAN.

Please raise issues concerning bugs or enhancements to this package through Bitbucket https://bitbucket.org/aphalo/photobiology/issues

photobiologyPlants 0.4.2

The changes from version 0.4.1 the previous CRAN version are:

  • (Code breaking!) Some data objects have been renamed and consequently old scripts may need minor edits.
  • (Data changed!) Increase wavelength resolution of the spectral data.
  • Add spectral absorbance data for the photoreceptor pigments cryptochrome 1, cryptochrome 3, phototropin 1, phototropin 2 and ZTL protein.
  • Add spectral absorbance data for eight carotenoids and chlorophyll a and chlorophyll b.
  • Add spectral fluorescence emission data for chlorophyll a and chlorophyll b.
  • Fix bug in Jalter leaf optical properties data object.
  • Rebuild data objects with ‘photobiology’ 0.9.28.
  • Translate vignette to R markdown and update it.

Documentation web site at http://docs.r4photobiology.info/photobiologyplants/.

The updated package is in CRAN.

Please raise issues concerning bugs or enhancements to this package through Bitbucket at https://bitbucket.org/aphalo/photobiologyplants/issues

ggspectra 0.3.3.1

This update includes a fix for a bug affecting autoplot() methods in the case of plotting multiple spectra in the same plot. It also includes improvements to the easy of use through the addition new or enhancements to existing convenience methods and functions. The required version of ‘photobiology’ is now 0.9.28 or higher.

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

  • Make autotitle() the recommended method and deprecate the use of ggtitle_spct(), which remains available for backwards compatibility.
  • Enhance autotitle() to optionally set the caption in addition to title and subtitle of a plot.
  • Add support for setting of the plot caption controlled with the annotations argument of autoplot() methods.
  • Add convenience functions to make easier to modify default arguments used by autoplot() methods through R options: set_annotations_default() and set_w.band_default().
  • Add support for simultaneously adding and removing annotations from the current default by accepting lists of character vectors in addition to character vectors as argument for parameter annotations in autoplot() methods.
  • Add support in multiplot() function for adding a title to the composite figure.
  • Track changes in ‘photobiology’ (>= 0.9.28) adding support for using the "how.measured" attribute in plot titles, subtitles and captions.
  • Use a compute panel function instead of a compute group function in stat_wb_label(), stat_wb_box() and stat_wl_strip(), solving a bug affecting autoplot() methods when called with multiple spectra.

The justification for renaming the ggtitle_spct() function to autotitle() is that the new name is consistent with autoplot() and autolayer() in taking an R object of a specific class as first argument and automatically extracting the information from it.

Documentation web site at https://docs.r4photobiology.info/ggspectra/.

NOTE: The updated package is on its way to CRAN.

Please raise issues concerning bugs or enhancements to this package through Bitbucket at https://bitbucket.org/aphalo/ggspectra/issues