The main changes from version 0.9.20, the most recent CRAN release, are:
- Fix bugs in
copy_attributes()
function (some attributes were not copied). - Add copying of attributes to conversion functions
cps2irrad()
,cps2Tfr()
andcps2Rfr()
. - Add
merge_attributes()
function and fix bugs in handling of metadata attributes in maths operators, affecting operations between two spectral objects. - Implement copy of attributes and automatic _adjustment_ of the
"multiple.wl"
attribute in the Extraction operator[]
for spectral objects. - Improve handling of attributes in objects containing multiple spectra in tidy (longitudinal) form. Revise
setMultipleWl()
to guess number of spectra whenmultiple.wl
argument isNULL
. - Add
setIdFactor()
andgetIdFactor()
, and add parameteridfactor
tosetGenericSpct()
and equivalent functions. - Handle gracefully attempts to apply
smooth_spct()
method to spectra containingNA
values. (Warn and return as is.) - Add parameter
na.rm
topeaks()
,valleys()
and related methods and functions. - Add parameter
na.rm
tonormalize()
methods. - Option
"photobiology.verbose"
is initialized to the value of R’s option"verbose"
at the time the package is attached. - If option
photobiology.verbose == TRUE
, the presence ofNA
values in spectral data triggers warnings.
Documentation web site at http://docs.r4photobiology.info/photobiology/ includes all help pages, with output from all examples, and vignettes in HTML format.
NOTE: The updated package is available through CRAN.
Please raise issues concerning bugs or enhancements to this package through Bitbucket https://bitbucket.org/aphalo/photobiology/issues