CRAN release: 2022-05-14
CRAN release: 2021-11-08
CRAN release: 2021-11-08
CRAN release: 2021-07-22
- The date returned in metadata (by
lr_convert_tocsv(metadata = TRUE)and
lr_parse_XXXX()) is now a datetime (with UTC as timezone and format
%Y-%m-%d %H:%M:%S). The column name in
lr_get_metadata()has been updated from
datetimeto reflect this. Thanks to Giancarlo Chiarenza for the report, and to Hao Ye, Laura DeCicco and Elin Waring for helpful comments about timezones and datetime formatting for reproducibility.
CRAN release: 2021-06-19
lr_convert_tocsv()has been completely removed. It was already deprecated since lightr 1.0 (released on CRAN on 2020-01-27)
lr_convert_tocsv()gains a new
metadataargument (defaults to
TRUE) to determine if metadata should be exported in a csv file as well alongside the spectral data.
CRAN release: 2021-03-21
- Output of the low-level parsers
lr_parse_XXXX()is now a named list with elements
lr_parse_rfl8()now explicitly mention the number of spectra in the warnings instead of the generic “multiple spectra”
lr_parse_generic()now makes sure that the data is ordered by increasing wavelengths, which fixes a bug reported by @itamshab
CRAN release: 2020-06-30
- (mostly internal)
compute_processed()function is now named
- disable hash tests on Solaris (the output is still checked by other tests)
CRAN release: 2020-06-29
CRAN release: 2020-04-01
datecolumn in metadata is now always formatted as ISO 8601.
lightrcan now import AvaSoft8 files (test files provided by M.D. Shawkey and L. Swierk), via the functions
lightrcan correctly imports
TRMfiles from AvaSoft 6.0 (previously it only supported files from AvaSoft 7.0).
lightrcan now import binary
.spcfiles (via the
lr_parse_spc()parser). This format is used by OceanInsight and CRAIC.
- new test suite on a different locale (in this case
fr_FR.UTF-8) to ensure parsing is locale-independent.
- warnings on CRAN build system for platforms that don’t support markdown 2 have been fixed.
- new, stricter tests for various file formats.
jdxfiles saved in a locale that uses
,as the decimal separator are now parsed correctly.
- Avantes exported files in non-English locales (
trtfiles) are now parsed correctly again (this was a regression compared to pavo’s
pavo::getspec()). Thanks to A. Fargevieille for reporting the issue and providing a test file.
CRAN release: 2020-01-27
- parallel processing now relies on the
futurepackage, which offers windows and high performance computing (HPC) environments support. The progress bar is produced by the
progressrpackage and can be customised as well.
lr_get_spec()) now works with non-UTF8 files (this was a regression compared to pavo’s
lr_get_spec()now has a new
interpolateargument to determine whether you want your data interpolated and pruned at every nm or not.
readBin()(in the binary Avantes parser) now has an explicit
endianvalue, making this package portable to platform that use big endians.
- documentation has been updated to follow the rebranding of OceanOptics into OceanInsight.
- vignette chunks that use
pavonow only run if the package is available.
savetimefield is now extracted from converted avantes files (when available).