testthat::context("Package utilities")
test_that("Resource validation works", {
expect_identical(valid_resource("suoritteet"), TRUE)
expect_identical(valid_resource("julkaisut"), TRUE)
expect_identical(valid_resource("foobar"), FALSE)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.