Nothing
test_that("check mockOmopSketch", {
skip_on_cran()
expect_error(mockOmopSketch(con = "aasa"))
# By default
expect_no_error(cdm <- mockOmopSketch())
expect_true(inherits(cdm, "cdm_reference"))
expect_true(omopgenerics::sourceType(cdm) == "duckdb")
# Set connexion to duckdb
expect_no_error(cdm <- mockOmopSketch(
con = connection("duckdb"),
writeSchema = "main"
))
expect_true(omopgenerics::sourceType(cdm) == "duckdb")
PatientProfiles::mockDisconnect(cdm = cdm)
})
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.