expect_shinytag | R Documentation |
These functions are designed to be used inside the tests in your Shiny app package.
expect_shinytag(object)
expect_shinytaglist(object)
expect_html_equal(ui, html, ...)
expect_running(sleep, R_path = NULL)
object |
the object to test |
ui |
output of an UI function |
html |
deprecated |
... |
arguments passed to |
sleep |
number of seconds |
R_path |
path to R. If NULL, the function will try to guess where R is. |
A testthat result.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.