R version 4.6.0 beta (2026-04-12 r89879 ucrt) -- "Because it was There" Copyright (C) 2026 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") Attaching package: 'plotly' The following object is masked from 'package:ggplot2': last_plot The following object is masked from 'package:stats': filter The following object is masked from 'package:graphics': layout Attaching package: 'dplyr' The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union population after earliestStartDate smaller than sample, sampling ignored i The following estimates will be calculated: * 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 2026-04-15 09:37:27.364335 v Summary finished, at 2026-04-15 09:37:28.083083 population after earliestStartDate smaller than sample, sampling ignored population after earliestStartDate smaller than sample, sampling ignored i The following estimates will be calculated: * 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 2026-04-15 09:37:56.759779 v Summary finished, at 2026-04-15 09:37:57.812585 population after earliestStartDate smaller than sample, sampling ignored i The following estimates will be calculated: * 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 2026-04-15 09:38:17.560829 v Summary finished, at 2026-04-15 09:38:18.407339 i The following estimates will be calculated: * 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 2026-04-15 09:38:21.291739 v Summary finished, at 2026-04-15 09:38:22.138761 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 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 2 seconds Progress: check ExposureDuration Time taken: 0 minutes and 0 seconds Progress: check drugQuantity Time taken: 0 minutes and 0 seconds Finished i The following estimates will be calculated: * 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 2026-04-15 09:39:16.745614 v Summary finished, at 2026-04-15 09:39:17.890562 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 calculated: * 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 2026-04-15 09:40:28.094181 v Summary finished, at 2026-04-15 09:40:28.764765 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 calculated: * 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 2026-04-15 09:41:54.316081 v Summary finished, at 2026-04-15 09:41:55.201244 Time taken: 0 minutes and 0 seconds testMessage [ FAIL 0 | WARN 139 | SKIP 5 | PASS 498 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • Skipping (1): 'test-shiny.R:2:3' • Sys.getenv("TESTDB_USER999") == "" is TRUE (1): 'test-SyntheaSqlServer.R:5:3' • does not work with latest omopgenerics (3): 'test-runBenchmark.R:2:3', 'test-runBenchmark.R:36:3', 'test-runBenchmark.R:47:3' [ FAIL 0 | WARN 139 | SKIP 5 | PASS 498 ] > > proc.time() user system elapsed 340.06 16.37 338.82