R Under development (unstable) (2024-04-23 r86473 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(CDMConnector) > > test_check("CDMConnector") trying URL 'https://example-data.ohdsi.dev/GiBleed.zip' Content type 'application/zip' length 6754786 bytes (6.4 MB) ================================================== downloaded 6.4 MB Download completed! Creating CDM database D:\temp\RtmpwrtcNp\file2304040ba5997/GiBleed_5.3.zip Getting distinct count of concept relationship table 0.06 sec elapsed Getting count of different relationship IDs in concept relationship table 0.05 sec elapsed Getting join of concept and concept class computed to a temp table 0.09 sec elapsed Getting concept table collected into memory 0.02 sec elapsed Getting join of person and observation period collected into memory 0.06 sec elapsed Getting summary of observation period start and end dates by gender concept id 0.17 sec elapsed i Generating 5 cohorts i Generating cohort (1/5) - gibleed_all) v Generating cohort (1/5) - gibleed_all) [388ms] i Generating cohort (2/5) - gibleed_all_end_10) v Generating cohort (2/5) - gibleed_all_end_10) [358ms] i Generating cohort (3/5) - gibleed_default) v Generating cohort (3/5) - gibleed_default) [268ms] i Generating cohort (4/5) - gibleed_default_with_descendants) v Generating cohort (4/5) - gibleed_default_with_descendants) [406ms] i Generating cohort (5/5) - gibleed_end_10) v Generating cohort (5/5) - gibleed_end_10) [461ms] i Generating 3 cohorts i Generating cohort (1/3) - gibleed_male) v Generating cohort (1/3) - gibleed_male) [670ms] i Generating cohort (2/3) - cerebral_venous_sinus_thrombosis_01) v Generating cohort (2/3) - cerebral_venous_sinus_thrombosis_01) [112ms] i Generating cohort (3/3) - deep_vein_thrombosis_01) v Generating cohort (3/3) - deep_vein_thrombosis_01) [138ms] i Generating 3 cohorts i Generating 3 cohorts i Generating cohort (1/3) - gibleed_male) v Generating cohort (1/3) - gibleed_male) [446ms] i Generating cohort (2/3) - cerebral_venous_sinus_thrombosis_01) v Generating cohort (2/3) - cerebral_venous_sinus_thrombosis_01) [139ms] i Generating cohort (3/3) - deep_vein_thrombosis_01) v Generating cohort (3/3) - deep_vein_thrombosis_01) [144ms] i Generating 3 cohorts i Generating 2 cohorts i Generating cohort (1/2) - cerebral_venous_sinus_thrombosis_01) v Generating cohort (1/2) - cerebral_venous_sinus_thrombosis_01) [93ms] i Generating cohort (2/2) - deep_vein_thrombosis_01) v Generating cohort (2/2) - deep_vein_thrombosis_01) [127ms] i Generating 2 cohorts i Generating cohort (1/2) - cerebral_venous_sinus_thrombosis_01) v Generating cohort (1/2) - cerebral_venous_sinus_thrombosis_01) [122ms] i Generating cohort (2/2) - deep_vein_thrombosis_01) v Generating cohort (2/2) - deep_vein_thrombosis_01) [100ms] i Generating 2 cohorts i Generating cohort (1/2) - cerebral_venous_sinus_thrombosis_01) v Generating cohort (1/2) - cerebral_venous_sinus_thrombosis_01) [105ms] i Generating cohort (2/2) - deep_vein_thrombosis_01) v Generating cohort (2/2) - deep_vein_thrombosis_01) [103ms] i Generating 1 cohort i Generating cohort (1/1) - gibleed_default) v Generating cohort (1/1) - gibleed_default) [231ms] i Generating 1 cohort i Generating cohort (1/1) - gibleed_all) v Generating cohort (1/1) - gibleed_all) [257ms] i Generating 1 cohort i Generating cohort (1/1) - gibleed_all) v Generating cohort (1/1) - gibleed_all) [358ms] i Generating 5 cohorts i Generating cohort (1/5) - gibleed_all) v Generating cohort (1/5) - gibleed_all) [237ms] i Generating cohort (2/5) - gibleed_all_end_10) v Generating cohort (2/5) - gibleed_all_end_10) [278ms] i Generating cohort (3/5) - gibleed_default) v Generating cohort (3/5) - gibleed_default) [251ms] i Generating cohort (4/5) - gibleed_default_with_descendants) v Generating cohort (4/5) - gibleed_default_with_descendants) [263ms] i Generating cohort (5/5) - gibleed_end_10) v Generating cohort (5/5) - gibleed_end_10) [261ms] i Generating 2 cohorts i Generating cohort (1/2) - cerebral_venous_sinus_thrombosis_01) v Generating cohort (1/2) - cerebral_venous_sinus_thrombosis_01) [116ms] i Generating cohort (2/2) - deep_vein_thrombosis_01) v Generating cohort (2/2) - deep_vein_thrombosis_01) [123ms] i Generating 3 cohorts i Generating cohort (1/3) - another_gibleed_male) v Generating cohort (1/3) - another_gibleed_male) [458ms] i Generating cohort (2/3) - another_cerebral_venous_sinus_thrombosis_01) v Generating cohort (2/3) - another_cerebral_venous_sinus_thrombosis_01) [95ms] i Generating cohort (3/3) - another_deep_vein_thrombosis_01) v Generating cohort (3/3) - another_deep_vein_thrombosis_01) [102ms] i Generating 3 cohorts i Generating cohort (1/3) - gibleed_male) v Generating cohort (1/3) - gibleed_male) [466ms] i Generating cohort (2/3) - cerebral_venous_sinus_thrombosis_01) v Generating cohort (2/3) - cerebral_venous_sinus_thrombosis_01) [121ms] i Generating cohort (3/3) - deep_vein_thrombosis_01) v Generating cohort (3/3) - deep_vein_thrombosis_01) [111ms] i Generating 3 cohorts i Generating cohort (1/3) - gibleed_male) v Generating cohort (1/3) - gibleed_male) [444ms] i Generating cohort (2/3) - cerebral_venous_sinus_thrombosis_01) v Generating cohort (2/3) - cerebral_venous_sinus_thrombosis_01) [110ms] i Generating cohort (3/3) - deep_vein_thrombosis_01) v Generating cohort (3/3) - deep_vein_thrombosis_01) [94ms] [ FAIL 1 | WARN 2 | SKIP 17 | PASS 333 ] ══ Skipped tests (17) ══════════════════════════════════════════════════════════ • Capr cannot be loaded (1): 'test-db-generateCohortSet.R:77:3' • On CRAN (7): 'test-db-generateConceptCohortSet.R:326:3', 'test-db-generateConceptCohortSet.R:343:3', 'test-db-generateConceptCohortSet.R:368:3', 'test-db-recordCohortAttrition.R:121:5', 'test-db-recordCohortAttrition.R:134:3', 'test-memory-issue.R:6:3', 'test-write_prefix_cohort_generation_snowflake.R:4:3' • TreatmentPatterns cannot be loaded (1): 'test-db-generateCohortSet.R:127:3' • arrow cannot be loaded (1): 'test-local_cdm.R:3:3' • eunomia_is_available("empty_cdm") is not TRUE (1): 'test-Eunomia.R:42:3' • failing test (1): 'test-db-dateadd.R:126:3' • manual test (5): 'test-Eunomia.R:2:3', 'test-db-copy_cdm_to.R:62:3', 'test-db-generateCohortSet.R:108:3', 'test-db-generateCohortSet.R:243:3', 'test-db-write_schema_with_database.R:5:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-db-omopgenerics.R:27:5'): duckdb - cdm_from_con ──────────────── Error in `test_cdm_from_con(con, cdm_schema = cdm_schema, write_schema = write_schema)`: could not find function "test_cdm_from_con" [ FAIL 1 | WARN 2 | SKIP 17 | PASS 333 ] Error: Test failures In addition: Warning message: Connection is garbage-collected, use dbDisconnect() to avoid this. Execution halted