[28aa3b]: / inst / tests / test-readDACData.R

Download this file

17 lines (14 with data), 403 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
context("Read all DLBCL classifications")
data(DLBCL_overview)
test_that("readDACData returns a data.frame", {
for (gse in DLBCL_overview$GSE) {
if (gse == "GSE11318") {
next
}
expect_true(is.data.frame(readDACData(gse)))
}
})
test_that("readDACData returns null GSE11318 and other names ", {
expect_null(readDACData("GSE11318"))
expect_null(readDACData("someothername"))
})