tests/testthat/test_shiny_app.R

context("shiny app")

test_that("run_app throws error without valid input", {
  expect_error(run_app("test"))
})

Try the DEP package in your browser

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

DEP documentation built on Nov. 8, 2020, 7:49 p.m.