R Under development (unstable) (2024-07-29 r86934 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(DrugExposureDiagnostics) > > test_check("DrugExposureDiagnostics") Note: method with signature 'DBIConnection#Id' chosen for function 'dbExistsTable', target signature 'duckdb_connection#Id'. "duckdb_connection#ANY" would also be valid population after earliestStartDate smaller than sample, sampling ignored population after earliestStartDate smaller than sample, sampling ignored i The following estimates will be computed: * daily_dose: count_missing, percentage_missing, mean, sd, q05, q25, median, q75, q95, min, max ! Table is collected to memory as not all requested estimates are supported on the database side > Start summary of data, at 2024-07-30 10:52:04.647946 v Summary finished, at 2024-07-30 10:52:05.275293 population after earliestStartDate smaller than sample, sampling ignored i The following estimates will be computed: * daily_dose: count_missing, percentage_missing, mean, sd, q05, q25, median, q75, q95, min, max ! Table is collected to memory as not all requested estimates are supported on the database side > Start summary of data, at 2024-07-30 10:52:28.131033 v Summary finished, at 2024-07-30 10:52:28.621232 Progress: getting descendant concepts of ingredient (1125315) used in database Progress: getting descendant concepts of ingredient Progress: adding drug strength info Progress: limiting to concepts in the db Progress: adding concept names Overall time taken: 0 minutes and 1 seconds Time taken: 0 minutes and 1 seconds Progress: getting drug strength for ingredient Time taken: 0 minutes and 0 seconds Progress: getting drug records for ingredient Time taken: 0 minutes and 0 seconds Progress: get concepts used Time taken: 0 minutes and 0 seconds Progress: sampling drug records population after earliestStartDate smaller than sample, sampling ignored Time taken: 0 minutes and 0 seconds Progress: check drugsMissing Time taken: 0 minutes and 1 seconds Progress: check ExposureDuration Time taken: 0 minutes and 0 seconds Progress: check drugQuantity Time taken: 0 minutes and 0 seconds Finished population after earliestStartDate smaller than sample, sampling ignored i The following estimates will be computed: * daily_dose: count_missing, percentage_missing, mean, sd, q05, q25, median, q75, q95, min, max ! Table is collected to memory as not all requested estimates are supported on the database side > Start summary of data, at 2024-07-30 10:53:24.06324 v Summary finished, at 2024-07-30 10:53:24.574383 population after earliestStartDate smaller than sample, sampling ignored population after earliestStartDate smaller than sample, sampling ignored population after earliestStartDate smaller than sample, sampling ignored i The following estimates will be computed: * daily_dose: count_missing, percentage_missing, mean, sd, q05, q25, median, q75, q95, min, max ! Table is collected to memory as not all requested estimates are supported on the database side > Start summary of data, at 2024-07-30 10:54:33.40841 v Summary finished, at 2024-07-30 10:54:33.96731 population after earliestStartDate smaller than sample, sampling ignored population after earliestStartDate smaller than sample, sampling ignored population after earliestStartDate smaller than sample, sampling ignored population after earliestStartDate smaller than sample, sampling ignored population after earliestStartDate smaller than sample, sampling ignored population after earliestStartDate smaller than sample, sampling ignored population after earliestStartDate smaller than sample, sampling ignored Time taken: 0 minutes and 0 seconds testMessage [ FAIL 0 | WARN 88 | SKIP 1 | PASS 320 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • Sys.getenv("TESTDB_USER999") == "" is TRUE (1): 'test-SyntheaSqlServer.R:5:3' [ FAIL 0 | WARN 88 | SKIP 1 | PASS 320 ] Warning messages: 1: Connection is garbage-collected, use dbDisconnect() to avoid this. 2: Connection is garbage-collected, use dbDisconnect() to avoid this. > > proc.time() user system elapsed 287.14 10.62 284.73