photobiology 0.10.10

The package documentation web site is at includes a changelog with information for each release since version 0.1.0.

This update concerns mainly methods normalize() and fscale() and the use of attributes to keep a history of these transformations. Some of the reporting enhancements are not operational for objects normalized and re-scaled with previous versions of this package, while all earlier features remain available.

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

  • Update normalize() methods to support updating an already present normalization (norm = "update") and skipping the normalization altogether (norm = "skip").
  • Update normalize() methods to store range in the attribute, and getNormalized() to return it.
  • Update normalize() methods to better handle normalization of previously normalized spectra, and add flexibility to the normalization of previously scaled spectra.
  • Add getScaling() and fix minor inconsistency in value returned by getScaled().
  • Fix bug in getNormalization() (wrong named member in returned value from spectra with no normalization data).
  • Fix bug resulting in "normalization" attribute not being copied.
  • Fix bug resulting in not all relevant attributes being copied to the value returned by summary.generic_spct().
  • Improve printing of metadata for normalization and rescaling.
  • Fix bug in shared_member_class() (wrong value returned for empty  collections).
  • Update smooth_spct() to handle bad arguments passed to method without crashing and add support for skipping smoothing (method = "skip").

NOTE: Version 0.10.10 is on its way to CRAN.

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

photobiologyLamps 0.5.0

Package documentation web site at (Now supporting search.)

This is a major and code-breaking update. Naming conventions have been slightly changed and several new spectra have been added. Previously included spectra have in most cases been recomputed and may slightly differ from earlier versions of the same data. In part this was done to reduce the size of the data objects, making it possible to include more spectra while keeping the size of the package reasonable. The main changes from version 0.4.3, the most recent version, released 2 years and 9 months months ago are:

  • Add data for Fluence-Osram grow lamps.
  • Revise for ‘ggspectra’ (\>= 0.3.1).
  • Rebuild all data objects with ‘photobiology’ (== 0.10.9) taking care that all spectra in lamps.mspct are normalized, also adding previously missing metadata.
  • Apply function photobiology::thin_wl() to all spectra to reduce their stored size.
  • Add data for additional flashlights.
  • Add data for black light blue “BLB” fluorescent tubes.
  • Add data for new grow lights from Fluence-Osram.
  • Add data for various LED lamps and tubes.
  • Replace a few spectra with newly measured ones from the same lamps.
  • CODE BREAKING. Rename the members of the collection of spectra for easier identification and to improve consistency in naming with packages ‘photobiologyLEDs’ and ‘photobiologyFilters’.
  • Revise vignette and other documentation.
  • Migrate the Git repository from Bitbucket to GitHub. (New address for raising issues is:

NOTE: The updated package is on its way to CRAN.

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