R-Lum/Luminescence

use_DRAC() ... output table interprets 'F' as logical 'FALSE' instead of character

RLumSK opened this issue · 0 comments

Expected behaviour

DRAC allows specifying three different types of mineral phases, namely F, Q, and PM.
These values are required as character values. Consequently, the output table
after using use_DRAC() should also show a character.

Observed behaviour

The output after using DRAC interprets the F as logical value and returns FALSE.
However, I guess what is transferred to DRAC is really a F, and not a FALSE otherwise we should see an error message. Anyway, it should be corrected.

Running mini example

library(Luminescence)
input <- template_DRAC()
input$Mineral <- "F"
print(output$DRAC$input)