inst/unitTests/test_writeResult.R

## function to perform unit test for writeMSL

test_writeResult <- function() {
    
#     data(Run)
#     data(Targets)
#     runPeaks <- getPeak(Run = Run, Targets = Targets)                                                

    checkException(writeResult(output.file.name = 'results.csv'), 
                   "Please provide the run peaks object!")   
}

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.