Last updated on 2026-05-14 01:50:42 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.1.7 | 9.07 | 671.96 | 681.03 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.1.7 | 6.01 | 59.05 | 65.06 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 1.1.7 | 15.00 | 1056.28 | 1071.28 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 1.1.7 | 15.00 | 1134.36 | 1149.36 | OK | |
| r-devel-windows-x86_64 | 1.1.7 | 10.00 | 547.00 | 557.00 | OK | |
| r-patched-linux-x86_64 | 1.1.7 | 9.24 | 631.54 | 640.78 | OK | |
| r-release-linux-x86_64 | 1.1.7 | 8.93 | 630.25 | 639.18 | OK | |
| r-release-macos-arm64 | 1.1.7 | 2.00 | 134.00 | 136.00 | OK | |
| r-release-macos-x86_64 | 1.1.7 | 6.00 | 703.00 | 709.00 | OK | |
| r-release-windows-x86_64 | 1.1.7 | 13.00 | 547.00 | 560.00 | OK | |
| r-oldrel-macos-arm64 | 1.1.7 | 2.00 | 131.00 | 133.00 | OK | |
| r-oldrel-macos-x86_64 | 1.1.7 | 6.00 | 484.00 | 490.00 | OK | |
| r-oldrel-windows-x86_64 | 1.1.7 | 15.00 | 802.00 | 817.00 | OK |
Version: 1.1.7
Check: tests
Result: ERROR
Running ‘testthat.R’ [9s/12s]
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-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-82.R
Saving _problems/test-executeChecks-99.R
Saving _problems/test-executeChecks-127.R
Saving _problems/test-executeChecks-143.R
Saving _problems/test-executeChecks-180.R
Saving _problems/test-executeChecks-204.R
Saving _problems/test-executeChecks-219.R
Saving _problems/test-executeChecks-245.R
Saving _problems/test-executeChecks-272.R
Saving _problems/test-executeChecks-329.R
Saving _problems/test-executeChecks-344.R
Saving _problems/test-executeChecks-355.R
Saving _problems/test-executeChecks-368.R
Saving _problems/test-executeChecks-384.R
Saving _problems/test-executeChecks-427.R
Time taken: 0 minutes and 0 seconds
testMessage
Saving _problems/test-utils-67.R
[ FAIL 47 | WARN 48 | SKIP 5 | PASS 145 ]
══ 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'
══ 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-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'): 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: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:82: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:82: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:99: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:99: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:127: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:127: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'): 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: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:180: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:180: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:204: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:204: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:219: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:219: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:245: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:245: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:272: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:272: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:329: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:329: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:344: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:344: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:355: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:355: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:368: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:368: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'): 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: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:427: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:427: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 47 | WARN 48 | SKIP 5 | PASS 145 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.1.7
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-28 [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-debian-gcc