tests/testthat/test_shiny_HPAStainR.R

context("Shiny App Test")
library(HPAStainR)
module <- shiny_HPAStainR(hpa_dat = HPA_data_downloader(save_file = FALSE)[[1]],
                          cancer_dat = HPA_data_downloader(save_file = FALSE)[[2]])

test_that("Is this a shiny object?", {
  expect_is(module, "shiny.appobj")
})
tnieuwe/HPAStainR_package documentation built on July 31, 2022, 8:01 a.m.