Nothing
test_that("Module example works", {
# Don't run these tests on the CRAN build servers
skip_on_cran()
skip_if(is.null(chromote::find_chrome()))
example_dir <- system.file("examples", "module", package = "howler")
app <- shinytest2::AppDriver$new(example_dir, name = "howler_app")
on.exit(app$stop())
Sys.sleep(1L)
expect_false(app$get_value(input = "sound-howler_playing"))
expect_identical(app$get_value(input = "sound-howler_seek"), 0L)
expect_gte(app$get_value(input = "sound-howler_duration"), 0L)
expect_false(app$get_value(input = "sound2-howler_playing"))
expect_identical(app$get_value(input = "sound2-howler_seek"), 0L)
expect_gte(app$get_value(input = "sound2-howler_duration"), 0L)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.