context("Testing fromSizeGenes method")
test_that("fromSizeGenes", {
sG <- sizeGenes(Info)
expect_message(test <- fromSizeGenes(sG), "Iterations: ")
expect_equal(sG, sizeGenes(test))
})
# test_that("fromSizeGenes", {
# sG <- sizeGenes(genesKegg)
#
# expect_message(test <- fromSizeGenes(sG), "Iterations: ")
# expect_equal(sG, sizeGenes(test))
# })
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.