tests/testthat/test-runMuPETFlow.R

test_that("runShiny launches the app correctly", {
  appDir <- system.file("shiny", "app", package = "MuPETFlow")
  # Make sure the app directory exists
  expect_true(dir.exists(appDir))
  # Test that the function runs without errors
  expect_no_error(runMuPETFlow())
})

Try the MuPETFlow package in your browser

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

MuPETFlow documentation built on April 4, 2025, 12:17 a.m.