tests/testthat/test-inst-apps.R

# File: 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 = "StabilityApp", "shinyapp")
  test_app(appdir)
})

Try the StabilityApp package in your browser

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

StabilityApp documentation built on Nov. 2, 2024, 1:08 a.m.