Error in `test_cdm_from_con(con, cdm_schema = cdm_schema, write_schema = write_schema)`: could not find function "test_cdm_from_con"

test_insert_table <- function(cdm, cdm_schema, write_schema) {
name <- paste0(c(sample(letters, 5, replace = TRUE), "_test_table"), collapse = "")
cdm <- cdm_from_con(con, cdm_schema = cdm_schema, cdm_name = "test", write_schema = write_schema)
tab <- insertTable(cdm = cdm, name = name, table = table)
if (!(dbtype %in% ciTestDbs)) skip_on_ci()
if (dbtype != "duckdb") skip_on_cran() else skip_if_not_installed("duckdb")
skip_if(any(write_schema == "") || any(cdm_schema == "") || is.null(con))
test_cdm_from_con(con, cdm_schema = cdm_schema, write_schema = write_schema)