tests/testthat/test-shiny.R

context("Shiny app")
test_that("arguments parsed correctly", {
    expect_error(ovva_shiny(data_path = "blah"), "data_path must be a named character vector")
    expect_error(ovva_shiny(data_path = c(a = "blah")), "the directory 'blah' does not exist")
})
openvolley/ovva documentation built on Nov. 11, 2024, 8:45 p.m.