tests/testthat/test-demoApp.R

test_that("Starting demo app db works", {
      runDemoApp (app = "database")
      expect_true(TRUE)
    })

test_that("Starting demo app mtcars works", {
      runDemoApp (app = "mtcars")
      expect_true(TRUE)
    })

test_that("Starting demo app custom works", {
      runDemoApp(app = "custom", dplyr::tibble(iris))
      expect_true(TRUE)
    })

Try the editbl package in your browser

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

editbl documentation built on April 3, 2025, 6:21 p.m.