New updates

photobiology 0.4.6

Several new functions added. a) Type conversion (by copy) as.source.spct(), as.filter.spct(), as.reflector.spct(), as.response.spct(), as.chroma.spct, as.generic.spct(). b) Object creation: source.spct(), filter.spct(), reflector.spct(), waveband(). c) computation: reflectance(), transmittance(). d) Setting attributes: setTimeUnit(), setTfrType(). e) Auxiliary functions: rmDerivedSpct(), spct.classes()

One function was removed. Function rbindlist() was deleted from the package, as it was redundant, and was causing problems. Please, be aware that you have to use rbindspct() when row-binding or stacking spectra.

Bugs fixed. class.spct() was returning sometimes wrong values. reflectance_spct() would crash. Overall consistency in the use of attributes was checked and a few problems corrected.

Vignette User Guide was updated with descriptions of the new functions added in this and recent versions, trying to make clear the use of spectral objects.

Backwards compatibility: source.spct objects have gained a time.unit attribute, and filter.spct objects a Tfr.type attribute. Objects created earlier will be missing these attributes. Some new functions need these attributes to function correctly. setTimeUnit() and setTfrType() can be used to update old objects if needed.

photobiologygg 0.1.13

Automatic plotting functions added. These functions implement the generic function plot() for source.spct, filter.spct and reflector.spct objects.

The vignette was updated with a few examples of the use of these functions, but the text still needs to be revised.

photobiologyLEDs 0.1.4

All source.spct objects re-created with the current version of package photobiology, so that they include the time.unit attribute.

Data for an UVB LED from TaoYuan was added.

The vignette was updated to include plots of all spectra. and to make use of the new plot functions from package photobiologygg.

photobiologyLamps 0.1.15

All source.spct objects re-created with the current version of package photobiology, so that they include the time.unit attribute.

The vignette was updated to make use of the new plot functions from package photobiologygg.

photobiologyFilters 0.1.13

All filter.spct objects re-created with the current version of package photobiology, so that they include the Tfr.type attribute.

The vignette was updated to make use of the new plot functions from package photobiologygg.

photobiologySun 0.1.4

All source.spct objects re-created with the current version of package photobiology, so that they include the time.unit attribute.

The vignette was updated to make use of the new plot functions from package photobiologygg.

NOTE: Sources, and Windows binaries for R 3.1.x, are now available in the repository. If you update, then, please, update all these packages, as they depend on each other.

New updates

photobiology 0.4.02 : A major update. New functionality related to spectral objects, and after lots of testing several bugs squashed.

photobiologygg 0.1.11 : Added scales for use in annotation of spectra.

photobiologyLamps 0.1.13 : Moved two functions to the photobiology package.

MayaCalc 3.0.14: A major update now using data.table and returning source.spct objects.

Note 1: These package updates are interdependent, if you update MayaCalc you will need to update photobiology and photobiologyLamps. If you update from the repository this will happen automatically.

Note 2: I have uploaded source packages (for all OSs and R 3.1.x) and Windows binaries for R 3.1.x. I have deleted R 3.0.x binary folder from the repository, as the current versions of the packages cannot be built with R < 3.1.0.

data.table 1.9.4 available from CRAN

A new version of the data.table package was released by its maintainers to CRAN. This version should work with the current version of the photobiology packages. Users of my packages should update data.table. At the moment a binary package for OS X seems not to be available, until it becomes available, you will need to install from source on Mac computers, which requires instalation of Xcode and accepting its license. For Windows, binary is available from CRAN.

Update: photobiology 0.3.12

Package photobiology is now at version 0.3.12, which has only a very small fix compared to version 0.3.11 that was in the repository for only a few hours. The main change from version 0.3.10 is the addition of three functions: wb2spct(), wb2tagged_spct() and wb2rect_spct(), which useful for annotating plots. The vignette was also updated with a very brief explanation of their use. Contrary to the last three updates, this time I have created and uploaded to the repository binaries for both R 3.0.x and R 3.1.x. I have also uploaded R 3.0.x binaries for all other packages that were out-of-date.

I will continue building binaries for R 3.0.x until R 3.2.0 is released. However, I do the development and testing under 3.1.1 and will start testing under the pre-release R 3.2.x. A quick check seems to indicate that R 3.0.3 does not trigger any problems.