tests/testthat/test-ShinyApp.R

# # context("app-function")
# # This file is for testing the applications in the inst/ directory.
#
# library(shinytest)
#
# test_that("shiny app works", {
#   # Don't run these tests on the CRAN build servers
#   skip_on_cran()
#
#   # Use compareImages=FALSE because the expected image screenshots were created
#   # on a Mac, and they will differ from screenshots taken on the CI platform,
#   # which runs on Linux.
#   appdir <- system.file(package = "TreeData", "app")
#   expect_pass(testApp(appdir, compareImages = FALSE))
# })
VincyaneBadouard/TreeData documentation built on Jan. 4, 2024, 2:56 a.m.