tests/testthat/test-proxy_example.R

context("proxy_example")

test_that("proxy_example works", {
  
  default <- proxy_example()
  expect_is(default, "shiny.appobj")
  
  examples <- c("gauge", "pie", "bar", "bar2", "line", "line2",
                "density", "histogram", "stacked_bar", "lollipop")
  
  for (i in examples) {
    ex <- proxy_example(i)
    expect_is(ex, "shiny.appobj")
  }
  
})

Try the billboarder package in your browser

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

billboarder documentation built on Sept. 29, 2023, 5:07 p.m.