Nothing
testBenchmarkCDMConnector <- function(con, cdm_schema, write_schema) {
cdm <- cdmFromCon(
con = con, cdmName = "test", cdmSchema = cdm_schema,
writeSchema = write_schema
)
expect_no_error(bench <- benchmarkCDMConnector(cdm))
expect_error(bench <- benchmarkCDMConnector("not a cdm"))
}
# for now only test this on duckdb. it takes a while to run.
for (dbtype in "duckdb") {
test_that(glue::glue("{dbtype} - dplyr queries"), {
if (!(dbtype %in% ciTestDbs)) skip_on_ci()
if (dbtype != "duckdb") skip_on_cran() else skip_if_not_installed("duckdb")
con <- get_connection(dbtype)
cdm_schema <- get_cdm_schema(dbtype)
write_schema <- get_write_schema(dbtype)
skip_if(any(write_schema == "") || any(cdm_schema == "") || is.null(con))
testBenchmarkCDMConnector(con, cdm_schema, write_schema)
disconnect(con)
})
}
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.