tests/testthat/test_extractor_app.R

# This file is for testing the applications in the inst/ directory.

library(shinytest2)

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

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

Try the corporaexplorer package in your browser

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

corporaexplorer documentation built on Sept. 11, 2024, 7:21 p.m.