library(testthat)
library(IQSlides)
mywd <- getwd()
setwd(tempdir())
unlink("../Output", recursive = TRUE)
setwd(mywd)
test_that("IQSlidedeck Base", {
result <- try(source("../testdata/script_IQSlidedeck.R"))
failed <- inherits(result, "try-error")
expect_false(failed)
})
test_that("IQSlidedeck IQR Output Objects", {
result <- try(source("../testdata/script_IQSlidedeck_IQRobjects.R"))
failed <- inherits(result, "try-error")
expect_false(failed)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.