R-Lum / Luminescence

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

error in extract_IrradiationTimes() #228

Closed mcol closed 2 months ago

mcol commented 2 months ago

This fails:

xsyg <- system.file("extdata/XSYG_file.xsyg", package="Luminescence")
binx <- system.file("extdata/BINfile_V8.binx", package = "Luminescence")
extract_IrradiationTimes(xsyg, file.BINX = binx, txtProgressBar = FALSE)

# [read_BIN2R()]
#  path:  /home/marco/works/luminescence/inst/extdata
#  file:  /home/marco/works/luminescence/inst/extdata/BINfile_V8.binx
#  n_rec: 2
#    >> 2 records read successfully
# 
# Error in [[<-.data.frame`(`*tmp*`, "IRR_TIME", value = c(0, 0, 80)) : 
#   replacement has 3 rows, data has 2
mcol commented 2 months ago

Fixed by #229.