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")
})

Try the HPAStainR package in your browser

Any scripts or data that you put into this service are public.

HPAStainR documentation built on Feb. 11, 2021, 2:01 a.m.