tests/testthat/test_dataImport.R

library(DESeq2)

context("DChIPRep data import")

test_that("dataImport_works", {
    directory <- file.path(system.file("extdata", package="DChIPRep"))
    data(exampleSampleTable)
    res <- importData(exampleSampleTable, directory)
    expect_is(res, "DChIPRepResults")
})

Try the DChIPRep package in your browser

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

DChIPRep documentation built on April 29, 2020, 4:26 a.m.