R Under development (unstable) (2024-09-10 r87115 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. > library(testthat) > library(CohortGenerator) Loading required package: DatabaseConnector Loading required package: R6 > > test_check("CohortGenerator") attempting to download GiBleed trying URL 'https://raw.githubusercontent.com/OHDSI/EunomiaDatasets/main/datasets/GiBleed/GiBleed_5.3.zip' Content type 'application/zip' length 6861852 bytes (6.5 MB) ================================================== downloaded 6.5 MB attempting to extract and load: D:\temp\RtmpAJ4fXF/GiBleed_5.3.zip to: D:\temp\RtmpAJ4fXF/GiBleed_5.3.sqlite Initiating cluster consisting only of main thread Generating cohort set took 0.66 secs Initiating cluster consisting only of main thread Generating cohort set took 0.63 secs Initiating cluster consisting only of main thread Generating cohort set took 0.1 secs Initiating cluster consisting only of main thread Generating cohort set took 0.31 secs Initiating cluster consisting only of main thread Generating cohort set took 0.46 secs Initiating cluster consisting only of main thread Generating cohort set took 0.1 secs Initiating cluster consisting only of main thread An error occurred while generating cohortName = Fail Cohort. Error: Error in `.createErrorReport()`: ! Error executing SQL: no such table: main.non_existant_table An error report has been created at d:/RCompile/CRANincoming/R-devel/CohortGenerator.Rcheck/tests/testthat/errorReportSql.txt [1] "Create cohorts with stopOnError = FALSE" Initiating cluster consisting only of main thread An error occurred while generating cohortName = Fail Cohort. Error: Error in `.createErrorReport()`: ! Error executing SQL: no such table: main.non_existant_table An error report has been created at d:/RCompile/CRANincoming/R-devel/CohortGenerator.Rcheck/tests/testthat/errorReportSql.txt Generating cohort set took 0.41 secs Initiating cluster consisting only of main thread An error occurred while generating cohortName = Fail Cohort. Error: Error in `.createErrorReport()`: ! Error executing SQL: no such table: main.non_existant_table An error report has been created at d:/RCompile/CRANincoming/R-devel/CohortGenerator.Rcheck/tests/testthat/errorReportSql.txt Generating cohort set took 0.51 secs Initiating cluster consisting only of main thread Generating cohort set took 0.18 secs trying URL 'https://raw.githubusercontent.com/OHDSI/EunomiaDatasets/main/datasets/GiBleed/GiBleed_5.3.zip' Content type 'application/zip' length 6861852 bytes (6.5 MB) ================================================== downloaded 6.5 MB Cohorts created in table main.cohort trying URL 'https://raw.githubusercontent.com/OHDSI/EunomiaDatasets/main/datasets/GiBleed/GiBleed_5.3.zip' Content type 'application/zip' length 6861852 bytes (6.5 MB) ================================================== downloaded 6.5 MB Initiating cluster consisting only of main thread Generating cohort set took 0.45 secs | | | 0% | |================== | 25% | |=================================== | 50% | |==================================================== | 75% | |======================================================================| 100% | | | 0% | |================== | 25% | |=================================== | 50% | |==================================================== | 75% | |======================================================================| 100% | | | 0% | |================== | 25% | |=================================== | 50% | |==================================================== | 75% | |======================================================================| 100% | | | 0% | |================== | 25% | |=================================== | 50% | |==================================================== | 75% | |======================================================================| 100% Generating sample set took 0.46 secs Generating sample set took 0.13 secs | | | 0% | |================== | 25% | |=================================== | 50% | |==================================================== | 75% | |======================================================================| 100% | | | 0% | |================== | 25% | |=================================== | 50% | |==================================================== | 75% | |======================================================================| 100% | | | 0% | |================== | 25% | |=================================== | 50% | |==================================================== | 75% | |======================================================================| 100% | | | 0% | |================== | 25% | |=================================== | 50% | |==================================================== | 75% | |======================================================================| 100% Generating sample set took 0.23 secs | | | 0% | |================== | 25% | |=================================== | 50% | |==================================================== | 75% | |======================================================================| 100% Initiating cluster consisting only of main thread Generating cohort set took 0.42 secs Initiating cluster consisting only of main thread Generating cohort set took 0.41 secs Initiating cluster consisting only of main thread Generating cohort set took 0.42 secs Initiating cluster consisting only of main thread Generating cohort set took 0.41 secs Initiating cluster consisting only of main thread Generating cohort set took 0.42 secs Initiating cluster consisting only of main thread Generating cohort set took 0.42 secs Generating negative control outcomes set took 0.04 secs Generating negative control outcomes set took 0.04 secs Negative control set skipped Generating negative control outcomes set took 0.04 secs Negative control set skipped Generating negative control outcomes set took 0.04 secs Negative control set skipped trying URL 'https://ohdsi.github.io/DatabaseConnectorJars/postgresqlV42.2.18.zip' Content type 'application/zip' length 931791 bytes (909 KB) ================================================== downloaded 909 KB Initiating cluster consisting only of main thread Generating cohort set took 0.41 secs Generating negative control outcomes set took 0.04 secs Initiating cluster consisting only of main thread Generating cohort set took 0.41 secs Generating negative control outcomes set took 0.04 secs Initiating cluster consisting only of main thread Generating cohort set took 0.4 secs Generating negative control outcomes set took 0.04 secs Initiating cluster consisting only of main thread Generating cohort set took 0.79 secs Initiating cluster consisting only of main thread Generating cohort set took 0.2 secs Initiating cluster consisting only of main thread Generating cohort set took 0.51 secs [ FAIL 0 | WARN 0 | SKIP 3 | PASS 405 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test-ResultsDataModel.R:85:3', 'test-ResultsDataModel.R:131:3', 'test-dbms-platforms.R:89:3' [ FAIL 0 | WARN 0 | SKIP 3 | PASS 405 ] Warning message: call dbDisconnect() when finished working with a connection > > proc.time() user system elapsed 77.79 13.06 73.14