Nothing
test_that("ae_forestly(): default setting can be executed without error", {
outdata <- test_ae_forestly()
html <- outdata |> ae_forestly()
html <- html[[length(html)]]
expect_equal(html$name, "div")
expect_equal(html$attribs$class, "container-fluid crosstalk-bscols")
expect_true(grepl("width:1400px", html$children[[1]], fixed = TRUE))
expect_true(grepl("Incidence (%) in One or More Treatment Groups", html$children[[1]], fixed = TRUE))
})
test_that("ae_forestly(): test filter and width option", {
outdata <- test_ae_forestly()
html <- outdata |> ae_forestly(filter = c("n"), width = 1500)
html <- html[[length(html)]]
expect_true(grepl("width:1500px", html$children[[1]], fixed = TRUE))
expect_true(grepl("Number of AE in One or More Treatment Groups", html$children[[1]], fixed = TRUE))
})
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.