Last updated on 2026-09-04 17:50:12 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.1.10 | 8.52 | 556.85 | 565.37 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.1.10 | 6.61 | 416.82 | 423.43 | OK | |
| r-devel-linux-x86_64-fedora-clang | 1.1.10 | 6.00 | 60.60 | 66.60 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 1.1.10 | 417.91 | OK | |||
| r-devel-windows-x86_64 | 1.1.10 | 11.00 | 476.00 | 487.00 | OK | |
| r-patched-linux-x86_64 | 1.1.10 | 7.14 | 546.29 | 553.43 | OK | |
| r-release-linux-x86_64 | 1.1.10 | 7.56 | 555.53 | 563.09 | OK | |
| r-release-macos-arm64 | 1.1.10 | 2.00 | 114.00 | 116.00 | OK | |
| r-release-macos-x86_64 | 1.1.10 | 7.00 | 744.00 | 751.00 | OK | |
| r-release-windows-x86_64 | 1.1.10 | 11.00 | 496.00 | 507.00 | OK | |
| r-oldrel-macos-arm64 | 1.1.10 | 2.00 | 124.00 | 126.00 | OK | |
| r-oldrel-macos-x86_64 | 1.1.10 | 7.00 | 890.00 | 897.00 | OK | |
| r-oldrel-windows-x86_64 | 1.1.10 | 15.00 | 684.00 | 699.00 | OK |
Version: 1.1.10
Check: tests
Result: ERROR
Running ‘testthat.R’ [10s/21s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(DrugExposureDiagnostics)
>
> test_check("DrugExposureDiagnostics")
Saving _problems/test-CheckDrugSig-16.R
Saving _problems/test-CheckDrugSig-41.R
Saving _problems/test-CheckVerbatimEndDate-17.R
Saving _problems/test-CheckVerbatimEndDate-42.R
Saving _problems/test-CheckVerbatimEndDate-67.R
Saving _problems/test-GetDrugRecords-57.R
Saving _problems/test-GetDrugRecords-84.R
Saving _problems/test-MockDrugExposure-2.R
Saving _problems/test-MockDrugExposure-111.R
Saving _problems/test-MockDrugExposure-144.R
Saving _problems/test-MockDrugExposure-165.R
Saving _problems/test-MockDrugExposure-179.R
Saving _problems/test-MockDrugExposure-192.R
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
Saving _problems/test-ShinyApp-8.R
Saving _problems/test-SummariseChecks-216.R
Saving _problems/test-SummariseChecks-226.R
Saving _problems/test-checkDaysSupply-18.R
Saving _problems/test-checkDaysSupply-45.R
Saving _problems/test-checkDrugDose-90.R
Saving _problems/test-checkDrugExposureDuration-45.R
Saving _problems/test-checkDrugExposureDuration-63.R
Saving _problems/test-checkDrugMissings-45.R
Saving _problems/test-checkDrugMissings-86.R
Saving _problems/test-checkDrugQuantity-27.R
Saving _problems/test-checkDrugQuantity-39.R
Saving _problems/test-checkDrugRoutes-45.R
Saving _problems/test-checkDrugSourceConcepts-45.R
Saving _problems/test-checkDrugTypes-45.R
Saving _problems/test-checkTimeBetween-25.R
Saving _problems/test-checkTimeBetween-37.R
Saving _problems/test-executeChecks-29.R
Saving _problems/test-executeChecks-61.R
Saving _problems/test-executeChecks-77.R
Saving _problems/test-executeChecks-98.R
Saving _problems/test-executeChecks-115.R
Saving _problems/test-executeChecks-143.R
Saving _problems/test-executeChecks-159.R
Saving _problems/test-executeChecks-196.R
Saving _problems/test-executeChecks-220.R
Saving _problems/test-executeChecks-235.R
Saving _problems/test-executeChecks-261.R
Saving _problems/test-executeChecks-288.R
Saving _problems/test-executeChecks-345.R
Saving _problems/test-executeChecks-360.R
Saving _problems/test-executeChecks-371.R
Saving _problems/test-executeChecks-384.R
Saving _problems/test-executeChecks-400.R
Saving _problems/test-executeChecks-443.R
Time taken: 0 minutes and 0 seconds
testMessage
Saving _problems/test-utils-67.R
[ FAIL 49 | WARN 48 | SKIP 5 | PASS 150 ]
══ Skipped tests (5) ═══════════════════════════════════════════════════════════
• Skipping (1): 'test-shiny.R:2:3'
• Sys.getenv("TESTDB_USER99") == "" 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'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-CheckDrugSig.R:16:3'): checkDrugSig overall ────────────────────
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics (local) getTestData() at test-CheckDrugSig.R:16:3
2. │ └─DrugExposureDiagnostics::mockDrugExposure(ingredient_drug_records = ingredient_drug_records) at test-CheckDrugSig.R:12:3
3. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
4. ├─base::loadNamespace(x)
5. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
7. │ │ └─base (local) doWithOneRestart(return(expr), restart)
8. │ └─base::stop(cond)
9. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-CheckDrugSig.R:41:3'): checkDrugSig byConcept ──────────────────
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics (local) getTestData() at test-CheckDrugSig.R:41:3
2. │ └─DrugExposureDiagnostics::mockDrugExposure(ingredient_drug_records = ingredient_drug_records) at test-CheckDrugSig.R:12:3
3. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
4. ├─base::loadNamespace(x)
5. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
7. │ │ └─base (local) doWithOneRestart(return(expr), restart)
8. │ └─base::stop(cond)
9. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-CheckVerbatimEndDate.R:17:3'): checkVerbatimEndDate overall ────
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics (local) getTestData() at test-CheckVerbatimEndDate.R:17:3
2. │ └─DrugExposureDiagnostics::mockDrugExposure(ingredient_drug_records = ingredient_drug_records) at test-CheckVerbatimEndDate.R:13:3
3. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
4. ├─base::loadNamespace(x)
5. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
7. │ │ └─base (local) doWithOneRestart(return(expr), restart)
8. │ └─base::stop(cond)
9. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-CheckVerbatimEndDate.R:42:3'): checkVerbatimEndDate byConcept ──
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics (local) getTestData() at test-CheckVerbatimEndDate.R:42:3
2. │ └─DrugExposureDiagnostics::mockDrugExposure(ingredient_drug_records = ingredient_drug_records) at test-CheckVerbatimEndDate.R:13:3
3. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
4. ├─base::loadNamespace(x)
5. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
7. │ │ └─base (local) doWithOneRestart(return(expr), restart)
8. │ └─base::stop(cond)
9. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-CheckVerbatimEndDate.R:67:3'): checkVerbatimEndDate NA ─────────
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics (local) getTestData(verbatimEndDate = NA) at test-CheckVerbatimEndDate.R:67:3
2. │ └─DrugExposureDiagnostics::mockDrugExposure(ingredient_drug_records = ingredient_drug_records) at test-CheckVerbatimEndDate.R:13:3
3. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
4. ├─base::loadNamespace(x)
5. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
7. │ │ └─base (local) doWithOneRestart(return(expr), restart)
8. │ └─base::stop(cond)
9. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-GetDrugRecords.R:57:3'): getDrugRecords ────────────────────────
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics (local) getTestData(ingredientId) at test-GetDrugRecords.R:57:3
2. │ └─DrugExposureDiagnostics::mockDrugExposure(...) at test-GetDrugRecords.R:50:3
3. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
4. ├─base::loadNamespace(x)
5. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
7. │ │ └─base (local) doWithOneRestart(return(expr), restart)
8. │ └─base::stop(cond)
9. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-GetDrugRecords.R:84:3'): getDrugRecords invalid inputs ─────────
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics (local) getTestData(ingredientId) at test-GetDrugRecords.R:84:3
2. │ └─DrugExposureDiagnostics::mockDrugExposure(...) at test-GetDrugRecords.R:50:3
3. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
4. ├─base::loadNamespace(x)
5. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
7. │ │ └─base (local) doWithOneRestart(return(expr), restart)
8. │ └─base::stop(cond)
9. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-MockDrugExposure.R:2:3'): check working example with defaults ──
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure() at test-MockDrugExposure.R:2:3
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-MockDrugExposure.R:111:3'): check working example with drug_strength ──
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure(drug_strength = drug_strength) at test-MockDrugExposure.R:111:3
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-MockDrugExposure.R:144:3'): check working example with drug drug_exposure ──
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure(drug_exposure = drug_exposure) at test-MockDrugExposure.R:144:3
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-MockDrugExposure.R:165:3'): check working example with drug_exposure options ──
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure(...) at test-MockDrugExposure.R:165:3
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-MockDrugExposure.R:176:3'): check working example with drug_strength default options ──
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure(...) at test-MockDrugExposure.R:176:3
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-MockDrugExposure.R:192:3'): check working example with drug_strength num_denom only ──
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure(amount_val = NA, amount_unit = NA) at test-MockDrugExposure.R:192:3
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-ShinyApp.R:8:3'): ShinyApp ─────────────────────────────────────
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure() at test-ShinyApp.R:8:3
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-SummariseChecks.R:216:3'): summariseChecks partial inputs with only empty ingredient: summary of missing and quantity and dose ──
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure() at test-SummariseChecks.R:216:3
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-SummariseChecks.R:226:3'): summariseChecks partial inputs with combination of not empty and empty ingredient: summary of missing and quantity and dose ──
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure() at test-SummariseChecks.R:226:3
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-checkDaysSupply.R:18:3'): check days supply overall ────────────
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics (local) getInputDb() at test-checkDaysSupply.R:18:3
2. │ └─DrugExposureDiagnostics::mockDrugExposure(ingredient_drug_records = ingredient_drug_records) at test-checkDaysSupply.R:14:3
3. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
4. ├─base::loadNamespace(x)
5. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
7. │ │ └─base (local) doWithOneRestart(return(expr), restart)
8. │ └─base::stop(cond)
9. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-checkDaysSupply.R:45:3'): check days supply by Concept ─────────
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics (local) getInputDb() at test-checkDaysSupply.R:45:3
2. │ └─DrugExposureDiagnostics::mockDrugExposure(ingredient_drug_records = ingredient_drug_records) at test-checkDaysSupply.R:14:3
3. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
4. ├─base::loadNamespace(x)
5. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
7. │ │ └─base (local) doWithOneRestart(return(expr), restart)
8. │ └─base::stop(cond)
9. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-checkDrugDose.R:90:3'): checkDrugDose overall ──────────────────
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics (local) getInputDb() at test-checkDrugDose.R:90:3
2. │ └─DrugExposureDiagnostics::mockDrugExposure(...) at test-checkDrugDose.R:49:3
3. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
4. ├─base::loadNamespace(x)
5. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
7. │ │ └─base (local) doWithOneRestart(return(expr), restart)
8. │ └─base::stop(cond)
9. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-checkDrugExposureDuration.R:45:3'): summariseDrugExposureDuration test overall ──
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics (local) getTestData() at test-checkDrugExposureDuration.R:45:3
2. │ └─DrugExposureDiagnostics::mockDrugExposure(ingredient_drug_records = ingredient_drug_records) at test-checkDrugExposureDuration.R:41:3
3. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
4. ├─base::loadNamespace(x)
5. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
7. │ │ └─base (local) doWithOneRestart(return(expr), restart)
8. │ └─base::stop(cond)
9. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-checkDrugExposureDuration.R:63:3'): summariseDrugExposureDuration test by concept ──
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics (local) getTestData() at test-checkDrugExposureDuration.R:63:3
2. │ └─DrugExposureDiagnostics::mockDrugExposure(ingredient_drug_records = ingredient_drug_records) at test-checkDrugExposureDuration.R:41:3
3. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
4. ├─base::loadNamespace(x)
5. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
7. │ │ └─base (local) doWithOneRestart(return(expr), restart)
8. │ └─base::stop(cond)
9. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-checkDrugMissings.R:45:3'): getDrugMissings overall ────────────
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics (local) getTestData() at test-checkDrugMissings.R:45:3
2. │ └─DrugExposureDiagnostics::mockDrugExposure(ingredient_drug_records = ingredient_drug_records) at test-checkDrugMissings.R:41:3
3. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
4. ├─base::loadNamespace(x)
5. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
7. │ │ └─base (local) doWithOneRestart(return(expr), restart)
8. │ └─base::stop(cond)
9. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-checkDrugMissings.R:86:3'): getDrugMissings byConcept ──────────
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics (local) getTestData() at test-checkDrugMissings.R:86:3
2. │ └─DrugExposureDiagnostics::mockDrugExposure(ingredient_drug_records = ingredient_drug_records) at test-checkDrugMissings.R:41:3
3. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
4. ├─base::loadNamespace(x)
5. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
7. │ │ └─base (local) doWithOneRestart(return(expr), restart)
8. │ └─base::stop(cond)
9. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-checkDrugQuantity.R:27:3'): check summary calculation overall ──
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics (local) getInputDb() at test-checkDrugQuantity.R:27:3
2. │ └─DrugExposureDiagnostics::mockDrugExposure(ingredient_drug_records = ingredient_drug_records) at test-checkDrugQuantity.R:23:3
3. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
4. ├─base::loadNamespace(x)
5. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
7. │ │ └─base (local) doWithOneRestart(return(expr), restart)
8. │ └─base::stop(cond)
9. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-checkDrugQuantity.R:39:3'): check summary calculation by Concept ──
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics (local) getInputDb() at test-checkDrugQuantity.R:39:3
2. │ └─DrugExposureDiagnostics::mockDrugExposure(ingredient_drug_records = ingredient_drug_records) at test-checkDrugQuantity.R:23:3
3. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
4. ├─base::loadNamespace(x)
5. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
7. │ │ └─base (local) doWithOneRestart(return(expr), restart)
8. │ └─base::stop(cond)
9. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-checkDrugRoutes.R:45:3'): getDrugRoutes ────────────────────────
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics (local) getTestData() at test-checkDrugRoutes.R:45:3
2. │ └─DrugExposureDiagnostics::mockDrugExposure(ingredient_drug_records = ingredient_drug_records) at test-checkDrugRoutes.R:41:3
3. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
4. ├─base::loadNamespace(x)
5. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
7. │ │ └─base (local) doWithOneRestart(return(expr), restart)
8. │ └─base::stop(cond)
9. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-checkDrugSourceConcepts.R:45:3'): getDrugSourceConcepts ────────
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics (local) getTestData() at test-checkDrugSourceConcepts.R:45:3
2. │ └─DrugExposureDiagnostics::mockDrugExposure(ingredient_drug_records = ingredient_drug_records) at test-checkDrugSourceConcepts.R:41:3
3. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
4. ├─base::loadNamespace(x)
5. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
7. │ │ └─base (local) doWithOneRestart(return(expr), restart)
8. │ └─base::stop(cond)
9. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-checkDrugTypes.R:45:3'): getDrugTypes ──────────────────────────
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics (local) getTestData() at test-checkDrugTypes.R:45:3
2. │ └─DrugExposureDiagnostics::mockDrugExposure(ingredient_drug_records = ingredient_drug_records) at test-checkDrugTypes.R:41:3
3. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
4. ├─base::loadNamespace(x)
5. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
7. │ │ └─base (local) doWithOneRestart(return(expr), restart)
8. │ └─base::stop(cond)
9. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-checkTimeBetween.R:25:3'): check summary calculation overall ───
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics (local) getInputDb() at test-checkTimeBetween.R:25:3
2. │ └─DrugExposureDiagnostics:::mockDrugExposure(ingredient_drug_records = ingredient_drug_records) at test-checkTimeBetween.R:21:3
3. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
4. ├─base::loadNamespace(x)
5. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
7. │ │ └─base (local) doWithOneRestart(return(expr), restart)
8. │ └─base::stop(cond)
9. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-checkTimeBetween.R:37:3'): check summary calculation by concept ──
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics (local) getInputDb() at test-checkTimeBetween.R:37:3
2. │ └─DrugExposureDiagnostics:::mockDrugExposure(ingredient_drug_records = ingredient_drug_records) at test-checkTimeBetween.R:21:3
3. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
4. ├─base::loadNamespace(x)
5. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
6. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
7. │ │ └─base (local) doWithOneRestart(return(expr), restart)
8. │ └─base::stop(cond)
9. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-executeChecks.R:29:3'): execute default checks, default ingredient, verbose ──
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure() at test-executeChecks.R:29:3
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-executeChecks.R:61:3'): conceptSummary drops source columns starting with underscore ──
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure() at test-executeChecks.R:61:3
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-executeChecks.R:77:3'): execute all checks, given ingredient ───
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure() at test-executeChecks.R:77:3
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-executeChecks.R:98:3'): execute some checks, given ingredient ──
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure() at test-executeChecks.R:98:3
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-executeChecks.R:115:3'): execute checks for given exposureTypeId ──
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure(drug_exposure_size = 100) at test-executeChecks.R:115:3
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-executeChecks.R:143:3'): execute checks: expected errors ───────
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure() at test-executeChecks.R:143:3
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-executeChecks.R:159:3'): each check ────────────────────────────
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure() at test-executeChecks.R:159:3
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-executeChecks.R:196:3'): each check: expected errors ───────────
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure() at test-executeChecks.R:196:3
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-executeChecks.R:220:3'): get number of Days_supply that are incorrect ──
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure() at test-executeChecks.R:220:3
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-executeChecks.R:235:3'): sampling ──────────────────────────────
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure() at test-executeChecks.R:235:3
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-executeChecks.R:261:3'): summary ───────────────────────────────
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure() at test-executeChecks.R:261:3
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-executeChecks.R:288:3'): subset on specific concepts ───────────
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure() at test-executeChecks.R:288:3
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-executeChecks.R:345:3'): obscuring results by minCellCount ─────
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure() at test-executeChecks.R:345:3
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-executeChecks.R:360:3'): use tablePrefix ───────────────────────
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure() at test-executeChecks.R:360:3
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-executeChecks.R:371:3'): empty drug_strength table gives an error ──
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure() at test-executeChecks.R:371:3
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-executeChecks.R:384:3'): results from multiple ingredients should be joined also if there is one in between that doesn't exist ──
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure() at test-executeChecks.R:384:3
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-executeChecks.R:400:3'): sampleSize is null, no sampling must take place, all data from ingredient_drug_records must be used ──
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure() at test-executeChecks.R:400:3
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-executeChecks.R:443:3'): package version and name are included in the results ──
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure() at test-executeChecks.R:443:3
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
── Error ('test-utils.R:67:3'): checkIsIngredient ──────────────────────────────
Error in `(function (cond) .Internal(C_tryCatchHelper(addr, 1L, cond)))(structure(list(message = "there is no package called 'duckdb'", call = loadNamespace(x), package = "duckdb", lib.loc = NULL), class = c("packageNotFoundError", "error", "condition")))`: error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure() at test-utils.R:67:3
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
[ FAIL 49 | WARN 48 | SKIP 5 | PASS 150 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.1.10
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘DaysSupply.Rmd’ using rmarkdown
Quitting from DaysSupply.Rmd:21-28 [setup]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
---
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure()
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'DaysSupply.Rmd' failed with diagnostics:
error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
--- failed re-building ‘DaysSupply.Rmd’
--- re-building ‘DiagnosticsSummary.Rmd’ using rmarkdown
Quitting from DiagnosticsSummary.Rmd:26-33 [setup]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
---
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure()
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'DiagnosticsSummary.Rmd' failed with diagnostics:
error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
--- failed re-building ‘DiagnosticsSummary.Rmd’
--- re-building ‘DrugDose.Rmd’ using rmarkdown
Quitting from DrugDose.Rmd:21-28 [setup]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
---
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure()
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'DrugDose.Rmd' failed with diagnostics:
error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
--- failed re-building ‘DrugDose.Rmd’
--- re-building ‘DrugDuration.Rmd’ using rmarkdown
Quitting from DrugDuration.Rmd:21-28 [setup]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
---
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure()
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'DrugDuration.Rmd' failed with diagnostics:
error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
--- failed re-building ‘DrugDuration.Rmd’
--- re-building ‘DrugSig.Rmd’ using rmarkdown
Quitting from DrugSig.Rmd:21-28 [setup]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
---
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure()
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'DrugSig.Rmd' failed with diagnostics:
error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
--- failed re-building ‘DrugSig.Rmd’
--- re-building ‘DrugSourceConcepts.Rmd’ using rmarkdown
Quitting from DrugSourceConcepts.Rmd:21-28 [setup]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
---
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure()
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'DrugSourceConcepts.Rmd' failed with diagnostics:
error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
--- failed re-building ‘DrugSourceConcepts.Rmd’
--- re-building ‘DrugTypes.Rmd’ using rmarkdown
Quitting from DrugTypes.Rmd:23-30 [setup]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
---
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure()
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'DrugTypes.Rmd' failed with diagnostics:
error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
--- failed re-building ‘DrugTypes.Rmd’
--- re-building ‘IntroductionToDrugExposureDiagnostics.Rmd’ using rmarkdown
Quitting from IntroductionToDrugExposureDiagnostics.Rmd:26-41 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
---
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure()
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'IntroductionToDrugExposureDiagnostics.Rmd' failed with diagnostics:
error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
--- failed re-building ‘IntroductionToDrugExposureDiagnostics.Rmd’
--- re-building ‘Missingness.Rmd’ using rmarkdown
Quitting from Missingness.Rmd:21-28 [setup]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
---
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure()
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'Missingness.Rmd' failed with diagnostics:
error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
--- failed re-building ‘Missingness.Rmd’
--- re-building ‘Quantity.Rmd’ using rmarkdown
Quitting from Quantity.Rmd:21-28 [setup]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
---
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure()
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'Quantity.Rmd' failed with diagnostics:
error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
--- failed re-building ‘Quantity.Rmd’
--- re-building ‘Routes.Rmd’ using rmarkdown
Quitting from Routes.Rmd:23-30 [setup]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
---
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure()
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'Routes.Rmd' failed with diagnostics:
error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
--- failed re-building ‘Routes.Rmd’
--- re-building ‘VerbatimEndDate.Rmd’ using rmarkdown
Quitting from VerbatimEndDate.Rmd:23-30 [setup]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
---
Backtrace:
▆
1. ├─DrugExposureDiagnostics::mockDrugExposure()
2. │ └─DBI::dbConnect(duckdb::duckdb(), ":memory:")
3. ├─base::loadNamespace(x)
4. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
5. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
6. │ │ └─base (local) doWithOneRestart(return(expr), restart)
7. │ └─base::stop(cond)
8. └─base (local) `<fn>`(`<pckgNtFE>`)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'VerbatimEndDate.Rmd' failed with diagnostics:
error in evaluating the argument 'drv' in selecting a method for function 'dbConnect': there is no package called 'duckdb'
--- failed re-building ‘VerbatimEndDate.Rmd’
SUMMARY: processing the following files failed:
‘DaysSupply.Rmd’ ‘DiagnosticsSummary.Rmd’ ‘DrugDose.Rmd’
‘DrugDuration.Rmd’ ‘DrugSig.Rmd’ ‘DrugSourceConcepts.Rmd’
‘DrugTypes.Rmd’ ‘IntroductionToDrugExposureDiagnostics.Rmd’
‘Missingness.Rmd’ ‘Quantity.Rmd’ ‘Routes.Rmd’ ‘VerbatimEndDate.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang