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 = "PakNAcc", "shinyapp")
  test_app(appdir)
})

Try the PakNAcc package in your browser

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

PakNAcc documentation built on April 3, 2025, 8:49 p.m.