ggpmisc 0.5.0

Version 0.5.0 (previously announced as 0.4.8) brings enhancements to the annotations based on model fits. The most significant change for all users is the new convenience function use_label() that greatly simplifies the assembly of labels from components and their mapping to aesthetics. We examplify its use and some of the other new features. It also contains two changes that are not backwards compatible and that can in isolated cases break existing code (hence the version-number change into 0.5.0).

Continue reading

ggpmisc 0.4.7

Version 0.4.7 brings a fix for a bug that could prevent the use of weights passed through aesthetic weight in some of the model-fitting statistics. Several enhancements to the model fitting statistics make it easier to fit different models to different groups or panels, and make it possible/easier to select among methods supported by a model fit function.

Continue reading

ggspectra 0.3.8

Eighteen months from the previous release, this update brings many improvements to autoplot() methods. These include enhanced capabilities for handling of normalized and scaled spectral data, as well as cosmetic tweaks to labels.

This update also includes smaller enhancements and fixes a bug. It tracks changes in packages ‘ggrepel’ (>= 0.9.1), ‘photobiology’ (>= 0.10.10) and ‘ggplot2’ (>= 3.3.3) and deprecation of functions in ‘tidyr’ (>= 1.0.0). The updated code depends on the revised normalize() function in ‘photobiology’ (>= 0.10.10) and on ‘ggrepel’ (>= 0.9.1).

Continue reading

Plans for upcoming versions of the suite

I just want to share what is in my “to do” list and what I wish someone else could contribute to the R for photobiology suite of packages either as part of the suite or as independent extensions. In addition to the enhancements listed below, I hope at some point to be able to submit the packages in the suite to R Open Science to be peer reviewed.

Continue reading

photobiologyInOut 0.4.23

Fifteen months since the previous release, this update adds support for one new spectrometer from LI-COR and multiple spectrometers from Wasatch Photonics. Updates to the tidyverse were triggering deprecation notices which are now avoided. Updates to package ‘photobiology’ revealed some minor bugs that are also fixed. Unnecessary progress messages during file realing and text scanning have been silenced.

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

  • Add parameters na and ... to read_csi_data().
  • Add function read_wasatch_csv() supporting data import from long form CSV spectrum files saved by Wasatch’s Enlighten program.
  • Add function read_li180_txt() supporting data import from files saved by the LI-180 handheld array spectrometer from LI-COR.
  • Avoid spurious progress messages when reading files.
  • Track various changes in the tidyverse that deprecated functions used in this package.
  • Fix bugs in some imports from ‘photobiology’.
  • Move git repository from Bitbucket to Github.
  • Set up Github action for CRAN-checks on Windows, OS X and Ubuntu.
  • Documentation web site at

NOTE: This version of the package is on its way to CRAN.

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