inst/unitTests/test_getEIC.R

## function to perform unit test for getEIC

test_getEIC <- function() {
    
    checkException(getEIC(compound = "Analyte", ms0 = c(100, 150, 200), 
                       sp0 = c(200, 50, 500), rt0 = 15.0), 
                   "One of the required inputs is missing!")
}

Try the SIMAT package in your browser

Any scripts or data that you put into this service are public.

SIMAT documentation built on Nov. 8, 2020, 8:27 p.m.