Releases: henningte/ir
Releases · henningte/ir
ir 0.4.1
ir 0.3.0
Bug fixes
- In
ir_import_spc(), the returnedirobject was not atbl_df, but a data frame. This is now corrected. - In
unnest.ir(), theirclass was not restored and therefore the result was always unclassed. - In
ir_average(), the returnedirobject was still agrouped_df. This is now corrected (by adding the.groupsargument fordplyr::summarize()which is internally used byir_average()).
New functions
ir_export_prepare()to support exportingirobjects tocsv.ir_correct_atmosphere()enables correcting for atmospheric artifacts (e.g. H$_2$O and CO$_2$ peaks) following Perez-Guaita et al. (2013) (DOI: 10.1366/13-07159).
Improvements
- Making
ir_flatten()faster by improving spectra combining. - Making
ir_bin()faster by improving spectra summarizing per bin. Allowing to specify how wavenumber values should be defined after binning. - Arithmetic operations now also accept numeric vectors (
ir_subtract(),ir_add(),ir_multiply(),ir_divide()).
ir 0.2.1
- Circumventing a bug in
ir_import_spc()by allowing to not export spectra metadata. This bug is caused byhyperSpec::read.spc()and will be fixed in the upcoming weeks. See r-hyperspec/hyperSpec#80
ir 0.2.0
- First CRAN release (#1).
- Added a
NEWS.mdfile to track changes to the package. - Added tidyverse methods for
irobjects. irobjects no longer require columnsmeasurement_idandsample_id, but only the columnspectra.- Added subsetting and binding methods for
irobjects. - Added arithmetic operators for
irobjects.
v0.0.0.9000
First release of ir.