R Under development (unstable) (2024-09-17 r87161 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(ResultModelManager) Loading required package: R6 Loading required package: DatabaseConnector > > test_check("ResultModelManager") Connecting using SQLite driver trying URL 'https://ohdsi.github.io/DatabaseConnectorJars/postgresqlV42.2.18.zip' Content type 'application/zip' length 931791 bytes (909 KB) ================================================== downloaded 909 KB DatabaseConnector postgresql JDBC driver downloaded to 'D:\temp\Rtmp8OIzle\file295c7e954e6'. Connecting using SQLite driver | | | 0% | |=================================== | 50% | |======================================================================| 100% Executing SQL took 0.00989 secs Connecting using SQLite driver Closing database connection Connecting using SQLite driver Closing database connection Connecting using SQLite driver Closing database connection | | | 0% | |======================================================================| 100% Executing SQL took 0.00393 secs Connecting using SQLite driver | | | 0% | |=================================== | 50% | |======================================================================| 100% Executing SQL took 0.00487 secs Using DatabaseConnector jdbc driver. Initalizing pooled connection Connecting using SQLite driver Initalizing pooled connection Connecting using SQLite driver Initalizing pooled connection Connecting using SQLite driver | | | 0% | |======================================================================| 100% Executing SQL took 0.00383 secs Migrator using SQL files in ResultModelManager Connecting using SQLite driver Creating migrations table Executing SQL took 0.00394 secs Migrations table created Executing migration: Migration_1-example.sql Executing SQL took 0.00358 secs Saving migration: Migration_1-example.sql Executing SQL took 0.00383 secs Migration complete Migration_1-example.sql Executing migration: Migration_2-MultiPlatformExample.sql Executing SQL took 0.00581 secs Saving migration: Migration_2-MultiPlatformExample.sql Executing SQL took 0.00364 secs Migration complete Migration_2-MultiPlatformExample.sql Closing database connection Connecting using SQLite driver Migrator using SQL files in ResultModelManager Connecting using SQLite driver Closing database connection Migrator using SQL files in directory structure Connecting using SQLite driver Creating migrations table Executing SQL took 0.00364 secs Migrations table created Executing migration: Migration_1-example.sql Executing SQL took 0.00543 secs Saving migration: Migration_1-example.sql Executing SQL took 0.00372 secs Migration complete Migration_1-example.sql Executing migration: Migration_2-MultiPlatformExample.sql Executing SQL took 0.00535 secs Saving migration: Migration_2-MultiPlatformExample.sql Executing SQL took 0.00363 secs Migration complete Migration_2-MultiPlatformExample.sql Closing database connection Connecting using SQLite driver Migrator using SQL files in directory structure Column databaseId in table foo in results folder foo.zip is of type character, but was expecting bigint. Attempting to convert. Column charField in table foo in results folder foo.zip is of type numeric, but was expecting varchar. Attempting to convert. Column dateField in table foo in results folder foo.zip is of type character, but was expecting date. Attempting to convert. Using DatabaseConnector jdbc driver. Connecting using SQLite driver Using DatabaseConnector jdbc driver. Initalizing pooled connection Connecting using SQLite driver Connecting using SQLite driver Executing SQL took 0.00358 secs Executing SQL took 0.00309 secs Closing database connection null/na primary keys found duplicate primary keys found Connecting using SQLite driver Inserting data took 0.0567 secs Connecting using SQLite driver | | | 0% | |============ | 17% | |======================= | 33% | |=================================== | 50% | |=============================================== | 67% | |========================================================== | 83% | |======================================================================| 100% Executing SQL took 0.00936 secs Connecting using SQLite driver [ FAIL 0 | WARN 0 | SKIP 11 | PASS 108 ] ══ Skipped tests (11) ══════════════════════════════════════════════════════════ • On CRAN (3): 'test-DataMigrationManager.R:70:3', 'test-DataMigrationManager.R:92:3', 'test-QueryNamespace.R:63:3' • results db not available (8): 'test-DataModel.R:18:3', 'test-DataModel.R:56:3', 'test-DataModel.R:142:3', 'test-DataModel.R:197:3', 'test-DataModel.R:237:3', 'test-PooledConnection.R:34:3', 'test-ResultExportManager.R:130:3', 'test-Utils.R:15:3' [ FAIL 0 | WARN 0 | SKIP 11 | PASS 108 ] > > proc.time() user system elapsed 7.46 2.06 6.98 Closing database connection