photobiology 0.10.13

BUG FIX: Sometime during the early life of package ‘photobiology’ I decided that it was a good idea to support in collections of spectra the use of dimensions as a way of supporting spectral images and similar data. I never managed to buy a spectral camera and make use of this. So the code for dimensions was not much tested or used. As it happens, it contained a bug in the computation of dimensions that triggered odd and not easy to track errors when using negative numerical subscripts or logical subscripts with the extraction operator [ ] even with the default one-dimensional collections. I was bitten by this bug some days ago. Hopefully, you as many people usually do, have used only positive numerical values as subscripts and, thus, you have not been bitten by this nasty creature.

This bug is now squashed, and a new version of ‘photobiology’ ready to move to CRAN. It contains also a few enhancements.

Continue reading