isoverse/isotopia

error when drop = FALSE and only one non-isotope column returned

Closed this issue · 1 comments

rs <- ratio(1:5, 6:10)
rs$test <- 'test'
rs["test", drop = F]

Error in isovals[[1]] : subscript out of bounds

problem was with validation when there were no isotope values any more in the data frame --> reduced to a normal data frame