tests/testthat/test_shiny.R

test_that("Shiny app is generated", {
  expect_is(pcaExplorer(), "shiny.appobj")
  
  expect_is(pcaExplorer(dds, rlt), "shiny.appobj")
  
  expect_is(pcaExplorer(countmatrix = cm, coldata = cd), "shiny.appobj")
  
  expect_is(pcaExplorer(dds = dds), "shiny.appobj")
})
federicomarini/pcaExplorer documentation built on Dec. 21, 2024, 8:47 p.m.