tests/testthat/recorded_tests/rmd-prerendered/tests/mytest.R

app <- ShinyDriver$new("../doc.Rmd", seed = 4938)
app$snapshotInit("mytest")

app$snapshot()
app$setInputs(n_breaks = "35")
app$setInputs(bw_adjust = 1.8)
app$snapshot()

rmarkdown::shiny_prerendered_clean("../doc.Rmd")
MangoTheCat/shinytest documentation built on April 20, 2019, 3:24 p.m.