R Under development (unstable) (2024-10-17 r87242 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) > options(dbms = "sqlite") > runTestsOnEunomia <- TRUE > if (runTestsOnEunomia) { + test_check("FeatureExtraction") + } Loading required package: FeatureExtraction Loading required package: DatabaseConnector Loading required package: Andromeda Loading required package: dplyr Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union ************* Testing on sqlite ************* 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\RtmpqYC9oz/GiBleed_5.3.zip to: D:\temp\RtmpqYC9oz/GiBleed_5.3.sqlite Connecting using SQLite driver Executing SQL took 0.0324 secs Cohorts created in table main.cohort Sending temp tables to server Constructing features on server Fetching data from server Fetching data took 0.394 secs Constructing features on server Fetching data from server Fetching data took 0.247 secs # CovariateData object Cohorts of interest IDs: 1, 2 Inherits from Andromeda: # Andromeda object # Physical location: D:\temp\RtmpqYC9oz\filef074446a4547.sqlite Tables: $analysisRef (analysisId, analysisName, domainId, startDay, endDay, isBinary, missingMeansZero) $covariateRef (covariateId, covariateName, analysisId, conceptId) $covariates (cohortDefinitionId, covariateId, covariateValue, rowId) Constructing features on server Fetching data from server Fetching data took 0.204 secs Sending temp tables to server Constructing features on server Fetching data from server Fetching data took 0.168 secs Sending temp tables to server Constructing features on server Fetching data from server Fetching data took 0.197 secs Constructing features on server Fetching data from server Fetching data took 0.19 secs Constructing features on server Fetching data from server Fetching data took 0.198 secs Constructing features on server Fetching data from server Fetching data took 0.195 secs Sending temp tables to server Constructing features on server Fetching data from server Fetching data took 0.268 secs Constructing features on server Fetching data from server Fetching data took 0.164 secs Aggregating covariates took 0.786 secs Constructing features on server Fetching data from server Fetching data took 0.172 secs Constructing features on server Fetching data from server Fetching data took 0.173 secs Constructing features on server Fetching data from server Fetching data took 0.161 secs Constructing features on server Fetching data from server Fetching data took 0.18 secs Constructing features on server Fetching data from server Fetching data took 0.216 secs Constructing features on server Fetching data from server Fetching data took 0.235 secs Constructing features on server Fetching data from server Fetching data took 0.244 secs Sending temp tables to server Constructing features on server Fetching data from server Fetching data took 0.306 secs Sending temp tables to server Constructing features on server Fetching data from server Fetching data took 0.297 secs Sending temp tables to server Constructing features on server Fetching data from server Fetching data took 0.199 secs Sending temp tables to server Constructing features on server Fetching data from server Fetching data took 0.183 secs Tidying covariates took 0.257 secs Removing 1 redundant covariates Removing 1 infrequent covariates Normalizing covariates Tidying covariates took 1.33 secs Sending temp tables to server Constructing features on server Fetching data from server Fetching data took 0.222 secs Removing 0 redundant covariate ID - time ID combinations Removing 0 infrequent covariates Normalizing covariates Tidying covariates took 1.76 secs [ FAIL 0 | WARN 5 | SKIP 82 | PASS 128 ] ══ Skipped tests (82) ══════════════════════════════════════════════════════════ • On CRAN (26): 'test-Aggregation.R:6:3', 'test-CompareCohorts.R:42:3', 'test-CovariateData.R:55:3', 'test-CovariateData.R:99:3', 'test-CovariateData.R:160:3', 'test-CovariateData.R:174:3', 'test-GetCohortBasedCovariates.R:489:3', 'test-GetCohortBasedCovariates.R:500:3', 'test-GetCohortBasedCovariates.R:511:3', 'test-GetCohortBasedCovariates.R:522:3', 'test-GetCohortBasedCovariates.R:533:3', 'test-GetCohortBasedCovariates.R:544:3', 'test-GetCohortBasedCovariates.R:555:3', 'test-GetCohortBasedCovariates.R:566:3', 'test-GetCovariates.R:63:3', 'test-GetCovariates.R:87:3', 'test-GetCovariates.R:100:3', 'test-GetCovariates.R:113:3', 'test-GetCovariatesFromCohortAttributes.R:30:3', 'test-GetCovariatesFromCohortAttributes.R:51:3', 'test-GetCovariatesFromCohortAttributes.R:79:3', 'test-GetCovariatesTemporalSequence.R:83:3', 'test-GetDefaultCovariates.R:6:3', 'test-HelperFunctions.R:31:3', 'test-Table1.R:85:3', 'test-Table1.R:146:3' • dbms == "oracle" is not TRUE (14): 'test-GetCohortBasedCovariates.R:796:3', 'test-GetCohortBasedCovariates.R:808:3', 'test-GetCohortBasedCovariates.R:820:3', 'test-GetCohortBasedCovariates.R:832:3', 'test-GetCohortBasedCovariates.R:844:3', 'test-GetCohortBasedCovariates.R:856:3', 'test-GetCohortBasedCovariates.R:868:3', 'test-GetCohortBasedCovariates.R:880:3', 'test-GetCohortBasedCovariates.R:892:3', 'test-query-no-fail.R:162:3', 'test-query-no-fail.R:344:3', 'test-query-no-fail.R:450:3', 'test-query-no-fail.R:558:3', 'test-spot-checks.R:204:3' • dbms == "postgresql" is not TRUE (14): 'test-GetCohortBasedCovariates.R:578:3', 'test-GetCohortBasedCovariates.R:590:3', 'test-GetCohortBasedCovariates.R:602:3', 'test-GetCohortBasedCovariates.R:614:3', 'test-GetCohortBasedCovariates.R:626:3', 'test-GetCohortBasedCovariates.R:638:3', 'test-GetCohortBasedCovariates.R:650:3', 'test-GetCohortBasedCovariates.R:662:3', 'test-GetCohortBasedCovariates.R:674:3', 'test-query-no-fail.R:146:3', 'test-query-no-fail.R:328:3', 'test-query-no-fail.R:434:3', 'test-query-no-fail.R:542:3', 'test-spot-checks.R:190:3' • dbms == "redshift" is not TRUE (14): 'test-GetCohortBasedCovariates.R:905:3', 'test-GetCohortBasedCovariates.R:917:3', 'test-GetCohortBasedCovariates.R:929:3', 'test-GetCohortBasedCovariates.R:941:3', 'test-GetCohortBasedCovariates.R:953:3', 'test-GetCohortBasedCovariates.R:965:3', 'test-GetCohortBasedCovariates.R:977:3', 'test-GetCohortBasedCovariates.R:989:3', 'test-GetCohortBasedCovariates.R:1001:3', 'test-query-no-fail.R:170:3', 'test-query-no-fail.R:352:3', 'test-query-no-fail.R:458:3', 'test-query-no-fail.R:566:3', 'test-spot-checks.R:211:3' • dbms == "sql server" is not TRUE (14): 'test-GetCohortBasedCovariates.R:687:3', 'test-GetCohortBasedCovariates.R:699:3', 'test-GetCohortBasedCovariates.R:711:3', 'test-GetCohortBasedCovariates.R:723:3', 'test-GetCohortBasedCovariates.R:735:3', 'test-GetCohortBasedCovariates.R:747:3', 'test-GetCohortBasedCovariates.R:759:3', 'test-GetCohortBasedCovariates.R:771:3', 'test-GetCohortBasedCovariates.R:783:3', 'test-query-no-fail.R:154:3', 'test-query-no-fail.R:336:3', 'test-query-no-fail.R:442:3', 'test-query-no-fail.R:550:3', 'test-spot-checks.R:197:3' [ FAIL 0 | WARN 5 | SKIP 82 | PASS 128 ] Executing SQL took 0.0068 secs > > proc.time() user system elapsed 363.82 6.71 359.59