New major updates uploaded to repository

photobiology 0.3.4 adds object oriented functions for most of the functionality, operator definitions have been revised. There still a few minor additions planned, but except for these, the package functionality and syntax should be quite stable from now on. Some code optimizations for speed or memory use may be done.

photobiologyFilters 0.1.10 provides all data as filter.spct objects instead of the earlier data frames. User code calling functions that expect filter names as character strings should still work unchanged. Code that explicitly used the data frames, needs to be edited for the name tag change from “.data”  to “.spct”. The code itself should work as the new objects are backwards compatible. The objects now contain “w.length”, “Tfr”, and “Tpc” ‘columns’, the “Tpc” column is deprecated, and will be removed the next time the package is built. Lots of new spectral data has been added to this package.

photobiologyLamps 0.1.11 provides all data as source.spct objects instead of the earlier data frames. User code calling functions that expect filter names as character strings should still work unchanged. Code that explicitly used the data frames, needs to be edited for the name tag change from “.data”  to “.spct”. The code itself should work as the new objects are backwards compatible. The objects now contain “w.length”, “s.e.irrad”, and “s.q.irrad” ‘columns’, the “s.q.irrad” column is deprecated, and will be removed the next time the package is built. This update contains the same data as the version it replaces.

photobiologyLEDs 0.1.2 provides all data as source.spct objects instead of the earlier data frames. User code calling functions that expect filter names as character strings should still work unchanged. Code that explicitly used the data frames, needs to be edited for the name tag change from “.data”  to “.spct”. The code itself should work as the new objects are backwards compatible. The objects now contain “w.length”, “s.e.irrad”, and “s.q.irrad” ‘columns’, the “s.q.irrad” column is deprecated, and will be removed the next time the package is built. I still have quite a lot of data that I need to add to this package, and quite a few LEDs waiting to be measured.

I have tweaked how package data.table is imported, so that those time-related functions with names that clash with package lubridate are no longer imported. Furthermore, the functions imported by package photobiology from package data.frame, are re-exported by package photobiology. Thanks to this change it is no longer needed for the end user to call “library data.table” in his/her code, this should help with backward and forward compatibility of user code.

Leave a Reply

Your email address will not be published. Required fields are marked *