photobiology 0.9.27

This update is in part the result of comparing the values returned by functions sun_angles() and day_night() to those returned by equivalent functions from other R packages and to the online NOAA Solar Calculator (considered the best implementation of Meuus astronomical algirithms, which are currently the most precise available). To see the whole story as it develops, please, have a look at my post describing these tests.

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

  • Improve performance of sun_angles() and day_night() and implement Meuus algorithm for julian day. End result is slightly slower performance but higher precision and broader range of dates that are handled correctly.
  • Make sure functions work correctly when a tibble is passed as argument to parameter geocode. In addition tolerate address column being a factor.
  • Values returned by sun_angles() and day_night() have changed very slightly as a result of the improved julian day calculation.

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 on its way to CRAN.

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

photobiologyWavebands 0.4.3

The main changes from version 0.4.2 the previous CRAN release, are:

  • Add waveband definitions for non-standard split of the UVA band with constructors UVAsw() and UVAlw().
  • Add two new definitions of far-red as used in remote sensing: "RedEdge20" and "RedEdge40".
  • Minor updates to documentation.

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

NOTE: The updated package is available through CRAN.

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

photobiologySun 0.4.1

The main changes from version 0.4.0, the most recent version are:

  • Rebuild data objects with ‘photobiology’ 0.9.26 to fix minor bugs.
  • Replace non-ASCII characters in documentation.

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

NOTE: The updated package is available through CRAN.

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

ggspectra 0.3.2

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

  • Make autoplot() the recommended method and deprecate the use of plot(), which remains available for backwards compatibility.
  • Fix bug in autoplot() which failed to set the title to the name of the object when requested.
  • Add ‘ggplot2’ and ‘photobiology’ as required dependencies so that they are automatically loaded when ‘ggspectra’ is loaded.

The justification for renaming the plot() methods to autoplot() is that these methods defined in our package match better those of other specializations of autoplot() than of those of plot(), both in terms of the objects returned (ggplots) and in terms of their role as a fast way of plotting objects belonging to classes defined in independently developed packages. Some years ago, early in the development of ‘ggspectra’ it seemed more natural to use plot as the  method to specialize.

As most of the methods and functions defined take as input objects belonging to classes defined in package ‘photobiology’ and return objects belonging to classes defined in package ‘ggplot2’, these two packages need in most cases to be loaded for ‘ggspectra’ to work as intended.

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

NOTE: The updated package is in CRAN.

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