tests/testthat/test-run_shinymixr.R

test_that("run_shinymixr returns app object", {
  # Don't run these tests on the CRAN build servers
  skip_on_cran()
  
  # Don't run this test on CI
  skip_on_ci()
  
  app <- suppressWarnings(run_shinymixr(paste0(tempdir(),"/files")))
   expect_is(app, "shiny.appobj")
  
  # delete created shinyMixR/ subdirectory
  rml  <- list.files(tempdir(), recursive = TRUE, include.dirs = TRUE, full.names = TRUE)
  unlink(rml, recursive = TRUE)
  
})

Try the shinyMixR package in your browser

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

shinyMixR documentation built on April 12, 2025, 2:25 a.m.