* using log directory ‘/srv/hornik/tmp/CRAN/CDMConnector.Rcheck’ * using R Under development (unstable) (2024-04-23 r86473) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 17.0.6 (5) Debian flang-new version 17.0.6 (5) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘CDMConnector/DESCRIPTION’ ... OK * this is package ‘CDMConnector’ version ‘1.3.2’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [5s/8s] NOTE Maintainer: ‘Adam Black ’ Suggests or Enhances not in mainstream repositories: Capr Availability using Additional_repositories specification: Capr yes https://OHDSI.github.io/drat * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘CDMConnector’ can be installed ... [4s/4s] OK * checking package directory ... OK * checking for future file timestamps ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [7s/7s] OK * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking R/sysdata.rda ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [2s/2s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [131s/115s] ERROR Running ‘testthat.R’ [131s/115s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # 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 /tmp/Rtmp70gNGB/working_dir/Rtmpxq4IiS/file284e0b5d3e8ce9/GiBleed_5.3.zip Getting distinct count of concept relationship table 0.044 sec elapsed Getting count of different relationship IDs in concept relationship table 0.035 sec elapsed Getting join of concept and concept class computed to a temp table 0.064 sec elapsed Getting concept table collected into memory 0.004 sec elapsed Getting join of person and observation period collected into memory 0.032 sec elapsed Getting summary of observation period start and end dates by gender concept id 0.076 sec elapsed i Generating 5 cohorts i Generating cohort (1/5) - gibleed_all) v Generating cohort (1/5) - gibleed_all) [167ms] i Generating cohort (2/5) - gibleed_all_end_10) v Generating cohort (2/5) - gibleed_all_end_10) [114ms] i Generating cohort (3/5) - gibleed_default) v Generating cohort (3/5) - gibleed_default) [98ms] i Generating cohort (4/5) - gibleed_default_with_descendants) v Generating cohort (4/5) - gibleed_default_with_descendants) [174ms] i Generating cohort (5/5) - gibleed_end_10) v Generating cohort (5/5) - gibleed_end_10) [95ms] i Generating 3 cohorts i Generating cohort (1/3) - gibleed_male) v Generating cohort (1/3) - gibleed_male) [178ms] i Generating cohort (2/3) - cerebral_venous_sinus_thrombosis_01) v Generating cohort (2/3) - cerebral_venous_sinus_thrombosis_01) [59ms] i Generating cohort (3/3) - deep_vein_thrombosis_01) v Generating cohort (3/3) - deep_vein_thrombosis_01) [69ms] i Generating 3 cohorts i Generating 3 cohorts i Generating cohort (1/3) - gibleed_male) v Generating cohort (1/3) - gibleed_male) [179ms] i Generating cohort (2/3) - cerebral_venous_sinus_thrombosis_01) v Generating cohort (2/3) - cerebral_venous_sinus_thrombosis_01) [59ms] i Generating cohort (3/3) - deep_vein_thrombosis_01) v Generating cohort (3/3) - deep_vein_thrombosis_01) [63ms] 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) [60ms] i Generating cohort (2/2) - deep_vein_thrombosis_01) v Generating cohort (2/2) - deep_vein_thrombosis_01) [65ms] i Generating 2 cohorts i Generating cohort (1/2) - cerebral_venous_sinus_thrombosis_01) v Generating cohort (1/2) - cerebral_venous_sinus_thrombosis_01) [58ms] i Generating cohort (2/2) - deep_vein_thrombosis_01) v Generating cohort (2/2) - deep_vein_thrombosis_01) [64ms] i Generating 2 cohorts i Generating cohort (1/2) - cerebral_venous_sinus_thrombosis_01) v Generating cohort (1/2) - cerebral_venous_sinus_thrombosis_01) [64ms] i Generating cohort (2/2) - deep_vein_thrombosis_01) v Generating cohort (2/2) - deep_vein_thrombosis_01) [64ms] i Generating 1 cohort i Generating cohort (1/1) - gibleed_default) v Generating cohort (1/1) - gibleed_default) [95ms] i Generating 1 cohort i Generating cohort (1/1) - gibleed_all) v Generating cohort (1/1) - gibleed_all) [95ms] i Generating 1 cohort i Generating cohort (1/1) - gibleed_all) v Generating cohort (1/1) - gibleed_all) [93ms] i Generating 5 cohorts i Generating cohort (1/5) - gibleed_all) v Generating cohort (1/5) - gibleed_all) [89ms] i Generating cohort (2/5) - gibleed_all_end_10) v Generating cohort (2/5) - gibleed_all_end_10) [98ms] i Generating cohort (3/5) - gibleed_default) v Generating cohort (3/5) - gibleed_default) [94ms] i Generating cohort (4/5) - gibleed_default_with_descendants) v Generating cohort (4/5) - gibleed_default_with_descendants) [192ms] i Generating cohort (5/5) - gibleed_end_10) v Generating cohort (5/5) - gibleed_end_10) [90ms] i Generating 2 cohorts i Generating cohort (1/2) - cerebral_venous_sinus_thrombosis_01) v Generating cohort (1/2) - cerebral_venous_sinus_thrombosis_01) [63ms] i Generating cohort (2/2) - deep_vein_thrombosis_01) v Generating cohort (2/2) - deep_vein_thrombosis_01) [63ms] i Generating 3 cohorts i Generating cohort (1/3) - another_gibleed_male) v Generating cohort (1/3) - another_gibleed_male) [176ms] i Generating cohort (2/3) - another_cerebral_venous_sinus_thrombosis_01) v Generating cohort (2/3) - another_cerebral_venous_sinus_thrombosis_01) [68ms] i Generating cohort (3/3) - another_deep_vein_thrombosis_01) v Generating cohort (3/3) - another_deep_vein_thrombosis_01) [58ms] i Generating 3 cohorts i Generating cohort (1/3) - gibleed_male) v Generating cohort (1/3) - gibleed_male) [237ms] i Generating cohort (2/3) - cerebral_venous_sinus_thrombosis_01) v Generating cohort (2/3) - cerebral_venous_sinus_thrombosis_01) [55ms] i Generating cohort (3/3) - deep_vein_thrombosis_01) v Generating cohort (3/3) - deep_vein_thrombosis_01) [58ms] i Generating 3 cohorts i Generating cohort (1/3) - gibleed_male) v Generating cohort (1/3) - gibleed_male) [164ms] i Generating cohort (2/3) - cerebral_venous_sinus_thrombosis_01) v Generating cohort (2/3) - cerebral_venous_sinus_thrombosis_01) [53ms] i Generating cohort (3/3) - deep_vein_thrombosis_01) v Generating cohort (3/3) - deep_vein_thrombosis_01) [61ms] [ 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 * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [21s/21s] OK * checking PDF version of manual ... [8s/8s] OK * checking HTML version of manual ... [1s/1s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 NOTE