R-Lum / Luminescence

Development of the R package 'Luminescence'
http://r-lum.github.io/Luminescence/
GNU General Public License v3.0
15 stars 7 forks source link

Risoe.BINfileData2RLum.Analysis() crashes when loading an empty Risoe.BINfileData file #215

Closed mcol closed 1 month ago

mcol commented 1 month ago

This crashes:

zero <- read_BIN2R(test_path("_data/BINfile_V3.bin"), n.records=999)
Risoe.BINfileData2RLum.Analysis(zero)

# Error in if (!is.null(object@METADATA[["RECTYPE"]]) && object@METADATA[["RECTYPE"]][x] ==  : 
#   missing value where TRUE/FALSE needed
mcol commented 1 month ago

Fixed by #224.