photobiology 0.9.19

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

  •  Fix bug in sun_angles() that resulted in wrong azimuth values returned in some circumstances. (Bug introduced in version 0.9.12 when the astronomy code was overhauled in December 2016.)
  • Fix bug in day_night() that resulted in a small time shift when a datetime was passed instead of a date as an argument to parameter date.
  • Fix bug in irrad(), e_irrad() and q_irrad() methods for collections of spectra which was resulting in arguments passed to parameter quantity being silently ignored.
  • Add explicit support for optional parallel execution of apply functions, and methods for collections of spectra. Apparently of no use under Windows 10, even for large collections of spectra.
  • Revise documentation.

Documentation web site at

NOTE: The updated package will be available soon from CRAN.

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