tests/testthat/test-inst-apps.R

library(shinytest2)

test_that("sample_app works", {
  # Don't run these tests on the CRAN build servers
  skip_on_cran()

  appdir <- system.file(package = "gridstackeR", "test_app")
  test_app(appdir)
})

Try the gridstackeR package in your browser

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

gridstackeR documentation built on Aug. 26, 2022, 9:06 a.m.