## Test unit 'testCaseMismatchedIDsGSE'
.setUp <-
function () {
## Specific actions for svUnit: prepare context
if ("package:svUnit" %in% search()) {
.Log <- Log() ## Make sure .Log is created
.Log$..Unit <- "inst/unitTests/runittestCaseMismatchedIDsGSE.R"
.Log$..File <- ""
.Log$..Obj <- ""
.Log$..Tag <- ""
.Log$..Msg <- ""
rm(..Test, envir = .Log)
}
}
.tearDown <-
function () {
## Specific actions for svUnit: clean up context
if ("package:svUnit" %in% search()) {
.Log$..Unit <- ""
.Log$..File <- ""
.Log$..Obj <- ""
.Log$..Tag <- ""
.Log$..Msg <- ""
rm(..Test, envir = .Log)
}
}
"testCaseMismatchedIDsGSE" <-
function() {
gse = getGEO('GSE35683')
checkEqualsNumeric(54675,nrow(gse[[1]]))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.