inst/shiny/run_tests.R

library(testthat)
library(shinytest)

test_that("Application works", {
  # Use compareImages=FALSE because the expected image screenshots were created
  # on a Mac, and they will differ from screenshots taken on the CI platform,
  # which runs on Linux.
  expect_pass(testApp(".", compareImages = FALSE))
})

Try the mmaqshiny package in your browser

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

mmaqshiny documentation built on July 2, 2020, 2:41 a.m.