learnrbook 1.0.1

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

This is the first version submitted to CRAN for the book as published in the R Series.

Versions starting from 1.0.0 are for the book as published in the R Series. Earlier versions were for various partial drafts of the book, as pre-published through LeanPub. The book was published a few of weeks ago, but shipping has started in the last few days.

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/learnrbook-pkg/issues

photobiology 0.10.5

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

This update adds a new attribute to objects of class response_spct to enable storage of metadata to distinguish action spectra from response spectra. All other changes are tweaks to make use easier or are minor bug fixes, which do not add important new functionality.

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

New

  • Implement attribute "response.type" to distinguish between response spectra and action spectra stored in response_spct objects.
  • Add methods setResponseType() and getResponseType().
  • Add method drop_user_cols() to remove user-defined columns from spectra.
  • Add method collect2mspct() and rename method uncollect() into uncollect2spct().
  • Add convenience function spct_metadata() to query the value of metadata attributes.
  • Revise add_attr2tb() expanding support to all metadata attributes.
  • Revise smooth_spct() methods adding new parameter wl.range.
  • Revise compare_spct() function to accept scaled and normalized spectra with a warning (instead of triggering an error).

Fixed

  • Make the pre-computed color data private.
  • Revise rbindspct() to gracefully handle duplicate member names in its input.
  • Revise smooth_spct() methods to fix bug in handling of strength in "custom" method.

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

photobiology 0.10.4

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

This release was triggered by a bug that made the package fail CRAN checks with an ERROR.

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

New

  • Improve performance of color-related computations.

Fixed

  • Bugs affecting boundary cases in the new color related functions.
  • Bad code in one example in documentation. This was causing ERRORs to be reported in CRAN checks.

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

photobiology 0.10.3

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

This release was triggered by problems detected by new tighter CRAN checks in what will become R (4.1.0). Better quality checks are a good thing! A few unrelated enhancements are also included.

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

New

  • Implement Fresnel’s formulae for computation of reflectance of a plane interface from relative refractive index.
  • Implement Fraunhofer’s formulae for computation of diffraction in a single slit and diffraction plus interference in a double slit.
  • Enhance as_tod() and implement format() and print() methods for time-of-day.
  • Update tag() methods to use, when possible, precomputed color definitions to improve performance.

Fixed

  • Handle gracefully bad data input in normalised_diff_ind().
  • Remove bad class exports from NAMESPACE.

Compatibility

  • New features of ‘dplyr’ (>= 1.0.0) are used, so this new version is required.

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