Nothing
# Tests for optional dependencies
test_that("package works without optional dependencies", {
# Test basic functionality without rsdmx
expect_error(
describe_dataset("NM_1_1"),
NA
)
})
test_that("package suggests correct packages", {
desc_file <- system.file("DESCRIPTION", package = "nomisdata")
if (file.exists(desc_file)) {
desc <- read.dcf(desc_file)
suggests <- desc[1, "Suggests"]
# Check key suggested packages are listed
expect_match(suggests, "rsdmx", ignore.case = TRUE)
expect_match(suggests, "testthat", ignore.case = TRUE)
}
})
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.