R Under development (unstable) (2024-07-03 r86870 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\Rtmp4I5WTG\file1df28734a4777/GiBleed_5.3.zip i Generating 3 cohorts i Generating cohort (1/3) - gibleed_male v Generating cohort (1/3) - gibleed_male [619ms] i Generating cohort (2/3) - cerebral_venous_sinus_thrombosis_01 v Generating cohort (2/3) - cerebral_venous_sinus_thrombosis_01 [148ms] i Generating cohort (3/3) - deep_vein_thrombosis_01 v Generating cohort (3/3) - deep_vein_thrombosis_01 [149ms] i Generating 3 cohorts i Generating 3 cohorts i Generating cohort (1/3) - gibleed_male v Generating cohort (1/3) - gibleed_male [488ms] i Generating cohort (2/3) - cerebral_venous_sinus_thrombosis_01 v Generating cohort (2/3) - cerebral_venous_sinus_thrombosis_01 [143ms] i Generating cohort (3/3) - deep_vein_thrombosis_01 v Generating cohort (3/3) - deep_vein_thrombosis_01 [147ms] 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 [140ms] i Generating cohort (2/2) - deep_vein_thrombosis_01 v Generating cohort (2/2) - deep_vein_thrombosis_01 [146ms] i Generating 2 cohorts i Generating cohort (1/2) - cerebral_venous_sinus_thrombosis_01 v Generating cohort (1/2) - cerebral_venous_sinus_thrombosis_01 [143ms] i Generating cohort (2/2) - deep_vein_thrombosis_01 v Generating cohort (2/2) - deep_vein_thrombosis_01 [144ms] i Generating 2 cohorts i Generating cohort (1/2) - cerebral_venous_sinus_thrombosis_01 v Generating cohort (1/2) - cerebral_venous_sinus_thrombosis_01 [158ms] i Generating cohort (2/2) - deep_vein_thrombosis_01 v Generating cohort (2/2) - deep_vein_thrombosis_01 [154ms] i Generating 1 cohort i Generating cohort (1/1) - gibleed_default v Generating cohort (1/1) - gibleed_default [305ms] i Generating 1 cohort i Generating cohort (1/1) - gibleed_all v Generating cohort (1/1) - gibleed_all [269ms] i Generating 1 cohort i Generating cohort (1/1) - gibleed_all v Generating cohort (1/1) - gibleed_all [285ms] i Generating 1 cohort i Generating cohort (1/1) - cerebral_venous_sinus_thrombosis_01 v Generating cohort (1/1) - cerebral_venous_sinus_thrombosis_01 [131ms] Attaching package: 'clock' The following object is masked from 'package:CDMConnector': as_date =================>------------- 58% | ETA: 2s ==================>------------ 61% | ETA: 2s i Generating 5 cohorts i Generating cohort (1/5) - gibleed_all v Generating cohort (1/5) - gibleed_all [297ms] i Generating cohort (2/5) - gibleed_all_end_10 v Generating cohort (2/5) - gibleed_all_end_10 [533ms] i Generating cohort (3/5) - gibleed_default v Generating cohort (3/5) - gibleed_default [286ms] i Generating cohort (4/5) - gibleed_default_with_descendants v Generating cohort (4/5) - gibleed_default_with_descendants [284ms] i Generating cohort (5/5) - gibleed_end_10 v Generating cohort (5/5) - gibleed_end_10 [287ms] Getting distinct count of concept relationship table 0.04 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.08 sec elapsed Getting concept table collected into memory 0 sec elapsed Getting join of person and observation period collected into memory 0.05 sec elapsed Getting summary of observation period start and end dates by gender concept id 0.1 sec elapsed i Generating 2 cohorts i Generating cohort (1/2) - cerebral_venous_sinus_thrombosis_01 v Generating cohort (1/2) - cerebral_venous_sinus_thrombosis_01 [131ms] i Generating cohort (2/2) - deep_vein_thrombosis_01 v Generating cohort (2/2) - deep_vein_thrombosis_01 [135ms] i Generating 3 cohorts i Generating cohort (1/3) - another_gibleed_male v Generating cohort (1/3) - another_gibleed_male [515ms] i Generating cohort (2/3) - another_cerebral_venous_sinus_thrombosis_01 v Generating cohort (2/3) - another_cerebral_venous_sinus_thrombosis_01 [154ms] i Generating cohort (3/3) - another_deep_vein_thrombosis_01 v Generating cohort (3/3) - another_deep_vein_thrombosis_01 [151ms] i Generating 3 cohorts i Generating cohort (1/3) - gibleed_male v Generating cohort (1/3) - gibleed_male [490ms] i Generating cohort (2/3) - cerebral_venous_sinus_thrombosis_01 v Generating cohort (2/3) - cerebral_venous_sinus_thrombosis_01 [143ms] i Generating cohort (3/3) - deep_vein_thrombosis_01 v Generating cohort (3/3) - deep_vein_thrombosis_01 [143ms] i Generating 3 cohorts i Generating cohort (1/3) - gibleed_male v Generating cohort (1/3) - gibleed_male [468ms] i Generating cohort (2/3) - cerebral_venous_sinus_thrombosis_01 v Generating cohort (2/3) - cerebral_venous_sinus_thrombosis_01 [134ms] i Generating cohort (3/3) - deep_vein_thrombosis_01 v Generating cohort (3/3) - deep_vein_thrombosis_01 [139ms] Getting distinct count of concept relationship table 0.04 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.08 sec elapsed Getting concept table collected into memory 0 sec elapsed Getting join of person and observation period collected into memory 0.05 sec elapsed Getting summary of observation period start and end dates by gender concept id 0.09 sec elapsed [ FAIL 0 | WARN 0 | SKIP 20 | PASS 355 ] ══ Skipped tests (20) ══════════════════════════════════════════════════════════ • Capr cannot be loaded (2): 'test-03-db-generateCohortSet.R:78:3', 'test-04-db-generateConceptCohortSet.R:528:3' • On CRAN (7): 'test-04-db-generateConceptCohortSet.R:330:3', 'test-04-db-generateConceptCohortSet.R:348:3', 'test-04-db-generateConceptCohortSet.R:374: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-03-db-generateCohortSet.R:129:3' • arrow::write_parquet is failing (1): 'test-local_cdm.R:3:3' • eunomia_is_available("empty_cdm") is not TRUE (1): 'test-Eunomia.R:42:3' • failing test (2): 'test-07-db-dateadd.R:126:3', 'test-db-in_schema.R:27:5' • manual test (6): 'test-02-db-cdm.R:230:3', 'test-03-db-generateCohortSet.R:110:3', 'test-03-db-generateCohortSet.R:247:3', 'test-09-db-copy_cdm_to.R:62:3', 'test-Eunomia.R:2:3', 'test-db-write_schema_with_database.R:5:3' [ FAIL 0 | WARN 0 | SKIP 20 | PASS 355 ] Warning message: Connection is garbage-collected, use dbDisconnect() to avoid this. > > > > > > proc.time() user system elapsed 450.37 29.53 427.32