photobiology 0.9.22

The only change from version 0.9.21, the most recent CRAN release, is:

  • Remove dependency on package ‘caTools’ which is no longer maintained and is scheduled to be archived in CRAN on 19 July.

After ‘caTools’ stops being available through CRAN, installation of ‘photobiology’ (== 0.9.21) would no longer have been possible as it would also have been archived. This update avoids this.

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 will be soon available through CRAN.

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

Share on

ggplot2 3.0.0

As the updated ‘ggplot2’ 3.0.0 became today available through CRAN, I will soon submit the new package ‘gginnards’ and a new enhanced version of package ‘ggpmisc’. That the first digit of the version of ‘ggplot2’ was increased reflects the fact that this is a major update to ‘ggplot2’ with some code breaking changes. The versions of packages ‘ggpmisc’ and ‘ggspectra’ now in CRAN are compatible with both ‘ggplot2’ 2.2.1 and 3.0.0. See https://ggplot2.tidyverse.org/ for details on ‘ggplot2’ updates.

 

Share on

photobiology 0.9.21

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

  • Fix bugs in copy_attributes() function (some attributes were not copied).
  • Add copying of attributes to conversion functions cps2irrad(), cps2Tfr() and cps2Rfr().
  • Add merge_attributes() function and fix bugs in handling of metadata attributes in maths operators, affecting operations between two spectral objects.
  • Implement copy of attributes and automatic _adjustment_ of the "multiple.wl" attribute in the Extraction operator [] for spectral objects.
  • Improve handling of attributes in objects containing multiple spectra in tidy (longitudinal) form. Revise setMultipleWl() to guess number of spectra when multiple.wl argument is NULL.
  • Add setIdFactor() and getIdFactor(), and add parameter idfactor to setGenericSpct() and equivalent functions.
  • Handle gracefully attempts to apply smooth_spct() method to spectra containing NA values. (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 R’s option "verbose" at the time the package is attached.
  • If option photobiology.verbose == TRUE, the presence of NA values in spectral data triggers warnings.

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 available through CRAN.

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

Share on