context("check_samplePurp")
test_that("Return values check", {
data("exampleData", package = "sedReview")
# check_samplePurpOut <- check_samplePurp(exampleData)
# saveRDS(check_samplePurpOut, file = "tests/testthat/data/check_samplePurpOut.rds")
check_samplePurpOut <- readRDS("data/check_samplePurpOut.rds")
check_samplePurpOutTest <- check_samplePurp(exampleData)
expect_equal(check_samplePurpOut, check_samplePurpOutTest)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.