tests/testthat/test-NullHandling.R

context("Test correct handling of NULL objects")

test_that("FastqcData fails on NULL",{
    expect_error(FastqcData(NULL))
})

test_that("FastqcDataList fails on NULL",{
    expect_error(FastqcDataList(NULL))
})

test_that(".FastqcFile failes on NULL", {
    expect_error(.FastqcFile(NULL))
})

Try the ngsReports package in your browser

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

ngsReports documentation built on Nov. 23, 2020, 2:01 a.m.