tests/testthat/test_exportResultTable.R

test_that("exportResultTable:exports result file", {
    outfile <- tempfile()
    expect_false(file.exists(outfile))
    exportResultTable(asid=1L, stats=c("modl_acc", "modl_ga"), outfile=outfile)
    expect_true(file.exists(outfile))
})

Try the GladiaTOX package in your browser

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

GladiaTOX documentation built on Nov. 15, 2020, 2:07 a.m.