R 4.0.3

A minor update to R was released recently as version 4.0.3. As always it is recommended to keep R up-to-date. R for photobiology packages and their dependencies are not affected by this are previous updates and pass checks on R >= 3.6.0.

photobiologySensors 0.5.0

Package documentation web site at: https://docs.r4photobiology.info/photobiologySensors/

The main changes from version 0.4.0, the current CRAN version:

New

  • Rename member spectra by prepending suppliers’ names and rebuild sensors.mspct with ‘photobiology’ (0.10.5) which is now required.
  • Add data for angular responses saved in a list of data frames named diffusers.lst.
  • Update the User Guide.

Backward incompatibilities

Code breaking because of renaming of members of the collection of sensor response spectra.

NOTE: The updated package has been submitted to CRAN.

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

photobiologyFilters 0.5.2

Package documentation web site at: https://docs.r4photobiology.info/photobiologyFilters/

The main changes from version 0.5.1, the current CRAN version, released 10 months ago are:

New

  • Add data for some Chinese absorptive filters from Yixing Purshee Optical Elements Co., Ltd.
  • Add thickness metadata for several photography filters.
  • Add reflectance data for various materials (previously contained in package ‘photobiologyReflectors’.
  • Add refraction index data.
  • Update the User Guide.

Fixed

  • Correct wrong thickness metadata in PC and PET_G sheet spectra.

Backward incompatibilities

Use of package ‘photobiologyReflectors’, which was never released through CRAN, is deprecated as the same data are now contained in ‘photobiologyFilters’ (>= 5.2).

NOTE: The updated package has been submitted to CRAN.

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

ggspectra 0.3.7

Package documentation web site at: https://docs.r4photobiology.info/ggspectra/

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

New

  • Track and profit from updated ‘photobiology’ (>= 0.10.4), with (>= 0.10.5) now required.
  • Use performance-optimized computation for colors from wavelengths.
  • Improve stat_wl_strip() performance by simplifying data before plotting.
  • Add support for plotting action spectra (preliminary).
  • Update y-axis scales to support scaled and normalized data.
  • Update y-scales to generate more compact axis labels and use IUPAC-recommended symbols.
  • Update x-axis- and y-axis scales to allow users to override the default label text.
  • Implement scale_y_Afr_continuous() for absorptance spectra.
  • Implement scale_y_mult_continuous() for calibration spectra.
  • Implement scale_y_Tfr_continuous() for transmittance spectra, to complement the internal and total versions earlier available.
  • Implement scale_y_A_continuous() for absorbance spectra, to complement the internal and total versions earlier available.
  • Implement scale_y_Rfr_continuous() for reflectance spectra, to complement the specular and total versions earlier available.
  • Update autoplot() methods to generate more compact axis labels (preliminary).
  • Update autoplot() methods to to natively support facets (partial).
  • Update stat_wb_box() adding parameter box.height (default behavior unchanged).

Bugs fixed

  • Fix a documentation example that stopped working because of changes to ‘ggplot2’.

Backward incompatibilities

  • Although this update should not break any code, the plots created will in some cases differ slighttly from those created with earlier versions. These changes affect the formatting of axis labels, and are readily visible.
  • Colors may differ very slightly while stat_wl_strip() draws fewer rectangles (in most cases these changes are barely visible).

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