R Under development (unstable) (2024-09-23 r87189 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 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-09-25 14:40:52.546324 v Summary finished, at 2024-09-25 14:40:53.034218 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-09-25 14:40:55.099726 v Summary finished, at 2024-09-25 14:40:55.579544 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-09-25 14:41:29.019183 v Summary finished, at 2024-09-25 14:41:29.482392 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-09-25 14:42:07.615952 v Summary finished, at 2024-09-25 14:42:07.975622 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 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 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-09-25 14:43:17.671842 v Summary finished, at 2024-09-25 14:43:18.095597 population after earliestStartDate smaller than sample, sampling ignored Time taken: 0 minutes and 0 seconds testMessage [ FAIL 0 | WARN 138 | SKIP 2 | PASS 331 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-shiny.R:2:3' • Sys.getenv("TESTDB_USER999") == "" is TRUE (1): 'test-SyntheaSqlServer.R:5:3' [ FAIL 0 | WARN 138 | SKIP 2 | PASS 331 ] 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 167.51 7.57 160.71