Nothing
context("setup")
# initialize data
test_that("phantomjs", {
skip_on_cran()
# check if phantomjs installed and install if needed
if (!isTRUE(wdpar:::has_phantomjs())) {
webdriver::install_phantomjs()
}
# update variable
is_phantomjs_available <<- wdpar:::has_phantomjs()
# tests
expect_is(is_phantomjs_available, "logical")
})
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.