CRAN Package Check Results for Package DrugUtilisation

Last updated on 2024-07-22 11:56:23 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.6.1 10.84 1356.59 1367.43 ERROR
r-devel-linux-x86_64-debian-gcc 0.6.1 8.73 973.96 982.69 ERROR
r-devel-linux-x86_64-fedora-clang 0.6.1 1662.70 ERROR
r-devel-linux-x86_64-fedora-gcc 0.6.1 1704.15 ERROR
r-devel-windows-x86_64 0.6.1 10.00 704.00 714.00 ERROR
r-patched-linux-x86_64 0.6.1 6.25 1273.42 1279.67 ERROR
r-release-linux-x86_64 0.6.1 6.44 1276.09 1282.53 ERROR
r-release-macos-arm64 0.6.1 287.00 OK
r-release-macos-x86_64 0.6.1 762.00 OK
r-release-windows-x86_64 0.6.1 10.00 679.00 689.00 ERROR
r-oldrel-macos-arm64 0.6.1 487.00 ERROR
r-oldrel-macos-x86_64 0.6.1 706.00 ERROR
r-oldrel-windows-x86_64 0.6.1 13.00 1023.00 1036.00 ERROR

Check Details

Version: 0.6.1
Check: tests
Result: ERROR Running ‘testthat.R’ [557s/363s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(DrugUtilisation) > > test_check("DrugUtilisation") Starting 2 test processes [ FAIL 4 | WARN 8 | SKIP 20 | PASS 146 ] ══ Skipped tests (20) ══════════════════════════════════════════════════════════ • On CRAN (19): 'test-benchmarkDUS.R:2:3', 'test-dailyDose.R:2:3', 'test-generateDrugUtilisationCohortSet.R:48:3', 'test-generateDrugUtilisationCohortSet.R:147:3', 'test-generateDrugUtilisationCohortSet.R:203:3', 'test-generateDrugUtilisationCohortSet.R:253:3', 'test-generateDrugUtilisationCohortSet.R:349:3', 'test-drugUse.R:2:3', 'test-drugUse.R:40:3', 'test-drugUse.R:254:3', 'test-drugUse.R:455:3', 'test-drugUse.R:597:3', 'test-drugUse.R:847:3', 'test-drugUse.R:868:3', 'test-drugUse.R:914:3', 'test-indication.R:3:3', 'test-indication.R:185:3', 'test-indication.R:339:3', 'test-indication.R:464:3' • empty test (1): 'test-generateConceptCohortSet.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-generatedAtcCohortSet.R:4:3'): test same results for ingredient cohorts ── Error in `CodelistGenerator::getATCCodes(cdm, name = atcName, level = level, doseForm = doseForm, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateAtcCohortSet(cdm = cdm, name = "test_cohort_1") at test-generatedAtcCohortSet.R:4:3 ── Error ('test-generatedIngredientCohortSet.R:4:3'): test same results for ingredient cohorts ── Error in `CodelistGenerator::getDrugIngredientCodes(cdm = cdm, name = ingredient, doseForm = doseForm, ingredientRange = ingredientRange, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateIngredientCohortSet(...) at test-generatedIngredientCohortSet.R:4:3 ── Error ('test-generatedIngredientCohortSet.R:54:3'): date works ────────────── Error in `CodelistGenerator::getDrugIngredientCodes(cdm = cdm, name = ingredient, doseForm = doseForm, ingredientRange = ingredientRange, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateIngredientCohortSet(...) at test-generatedIngredientCohortSet.R:54:3 ── Error ('test-generatedIngredientCohortSet.R:77:3'): ingredient list and vector both work ── Error in `CodelistGenerator::getDrugIngredientCodes(cdm = cdm, name = ingredient, doseForm = doseForm, ingredientRange = ingredientRange, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateIngredientCohortSet(...) at test-generatedIngredientCohortSet.R:77:3 [ FAIL 4 | WARN 8 | SKIP 20 | PASS 146 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.6.1
Check: tests
Result: ERROR Running ‘testthat.R’ [385s/212s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(DrugUtilisation) > > test_check("DrugUtilisation") Starting 2 test processes [ FAIL 4 | WARN 8 | SKIP 20 | PASS 146 ] ══ Skipped tests (20) ══════════════════════════════════════════════════════════ • On CRAN (19): 'test-benchmarkDUS.R:2:3', 'test-dailyDose.R:2:3', 'test-generateDrugUtilisationCohortSet.R:48:3', 'test-generateDrugUtilisationCohortSet.R:147:3', 'test-generateDrugUtilisationCohortSet.R:203:3', 'test-generateDrugUtilisationCohortSet.R:253:3', 'test-generateDrugUtilisationCohortSet.R:349:3', 'test-drugUse.R:2:3', 'test-drugUse.R:40:3', 'test-drugUse.R:254:3', 'test-drugUse.R:455:3', 'test-drugUse.R:597:3', 'test-drugUse.R:847:3', 'test-drugUse.R:868:3', 'test-drugUse.R:914:3', 'test-indication.R:3:3', 'test-indication.R:185:3', 'test-indication.R:339:3', 'test-indication.R:464:3' • empty test (1): 'test-generateConceptCohortSet.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-generatedAtcCohortSet.R:4:3'): test same results for ingredient cohorts ── Error in `CodelistGenerator::getATCCodes(cdm, name = atcName, level = level, doseForm = doseForm, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateAtcCohortSet(cdm = cdm, name = "test_cohort_1") at test-generatedAtcCohortSet.R:4:3 ── Error ('test-generatedIngredientCohortSet.R:4:3'): test same results for ingredient cohorts ── Error in `CodelistGenerator::getDrugIngredientCodes(cdm = cdm, name = ingredient, doseForm = doseForm, ingredientRange = ingredientRange, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateIngredientCohortSet(...) at test-generatedIngredientCohortSet.R:4:3 ── Error ('test-generatedIngredientCohortSet.R:54:3'): date works ────────────── Error in `CodelistGenerator::getDrugIngredientCodes(cdm = cdm, name = ingredient, doseForm = doseForm, ingredientRange = ingredientRange, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateIngredientCohortSet(...) at test-generatedIngredientCohortSet.R:54:3 ── Error ('test-generatedIngredientCohortSet.R:77:3'): ingredient list and vector both work ── Error in `CodelistGenerator::getDrugIngredientCodes(cdm = cdm, name = ingredient, doseForm = doseForm, ingredientRange = ingredientRange, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateIngredientCohortSet(...) at test-generatedIngredientCohortSet.R:77:3 [ FAIL 4 | WARN 8 | SKIP 20 | PASS 146 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.6.1
Check: tests
Result: ERROR Running ‘testthat.R’ [634s/370s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(DrugUtilisation) > > test_check("DrugUtilisation") Starting 2 test processes [ FAIL 4 | WARN 8 | SKIP 20 | PASS 146 ] ══ Skipped tests (20) ══════════════════════════════════════════════════════════ • On CRAN (19): 'test-benchmarkDUS.R:2:3', 'test-dailyDose.R:2:3', 'test-generateDrugUtilisationCohortSet.R:48:3', 'test-generateDrugUtilisationCohortSet.R:147:3', 'test-generateDrugUtilisationCohortSet.R:203:3', 'test-generateDrugUtilisationCohortSet.R:253:3', 'test-generateDrugUtilisationCohortSet.R:349:3', 'test-indication.R:3:3', 'test-indication.R:185:3', 'test-indication.R:339:3', 'test-indication.R:464:3', 'test-drugUse.R:2:3', 'test-drugUse.R:40:3', 'test-drugUse.R:254:3', 'test-drugUse.R:455:3', 'test-drugUse.R:597:3', 'test-drugUse.R:847:3', 'test-drugUse.R:868:3', 'test-drugUse.R:914:3' • empty test (1): 'test-generateConceptCohortSet.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-generatedAtcCohortSet.R:4:3'): test same results for ingredient cohorts ── Error in `CodelistGenerator::getATCCodes(cdm, name = atcName, level = level, doseForm = doseForm, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateAtcCohortSet(cdm = cdm, name = "test_cohort_1") at test-generatedAtcCohortSet.R:4:3 ── Error ('test-generatedIngredientCohortSet.R:4:3'): test same results for ingredient cohorts ── Error in `CodelistGenerator::getDrugIngredientCodes(cdm = cdm, name = ingredient, doseForm = doseForm, ingredientRange = ingredientRange, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateIngredientCohortSet(...) at test-generatedIngredientCohortSet.R:4:3 ── Error ('test-generatedIngredientCohortSet.R:54:3'): date works ────────────── Error in `CodelistGenerator::getDrugIngredientCodes(cdm = cdm, name = ingredient, doseForm = doseForm, ingredientRange = ingredientRange, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateIngredientCohortSet(...) at test-generatedIngredientCohortSet.R:54:3 ── Error ('test-generatedIngredientCohortSet.R:77:3'): ingredient list and vector both work ── Error in `CodelistGenerator::getDrugIngredientCodes(cdm = cdm, name = ingredient, doseForm = doseForm, ingredientRange = ingredientRange, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateIngredientCohortSet(...) at test-generatedIngredientCohortSet.R:77:3 [ FAIL 4 | WARN 8 | SKIP 20 | PASS 146 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.6.1
Check: tests
Result: ERROR Running ‘testthat.R’ [600s/324s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(DrugUtilisation) > > test_check("DrugUtilisation") Starting 2 test processes [ FAIL 4 | WARN 8 | SKIP 20 | PASS 146 ] ══ Skipped tests (20) ══════════════════════════════════════════════════════════ • On CRAN (19): 'test-benchmarkDUS.R:2:3', 'test-dailyDose.R:2:3', 'test-generateDrugUtilisationCohortSet.R:48:3', 'test-generateDrugUtilisationCohortSet.R:147:3', 'test-generateDrugUtilisationCohortSet.R:203:3', 'test-generateDrugUtilisationCohortSet.R:253:3', 'test-generateDrugUtilisationCohortSet.R:349:3', 'test-indication.R:3:3', 'test-indication.R:185:3', 'test-indication.R:339:3', 'test-indication.R:464:3', 'test-drugUse.R:2:3', 'test-drugUse.R:40:3', 'test-drugUse.R:254:3', 'test-drugUse.R:455:3', 'test-drugUse.R:597:3', 'test-drugUse.R:847:3', 'test-drugUse.R:868:3', 'test-drugUse.R:914:3' • empty test (1): 'test-generateConceptCohortSet.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-generatedAtcCohortSet.R:4:3'): test same results for ingredient cohorts ── Error in `CodelistGenerator::getATCCodes(cdm, name = atcName, level = level, doseForm = doseForm, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateAtcCohortSet(cdm = cdm, name = "test_cohort_1") at test-generatedAtcCohortSet.R:4:3 ── Error ('test-generatedIngredientCohortSet.R:4:3'): test same results for ingredient cohorts ── Error in `CodelistGenerator::getDrugIngredientCodes(cdm = cdm, name = ingredient, doseForm = doseForm, ingredientRange = ingredientRange, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateIngredientCohortSet(...) at test-generatedIngredientCohortSet.R:4:3 ── Error ('test-generatedIngredientCohortSet.R:54:3'): date works ────────────── Error in `CodelistGenerator::getDrugIngredientCodes(cdm = cdm, name = ingredient, doseForm = doseForm, ingredientRange = ingredientRange, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateIngredientCohortSet(...) at test-generatedIngredientCohortSet.R:54:3 ── Error ('test-generatedIngredientCohortSet.R:77:3'): ingredient list and vector both work ── Error in `CodelistGenerator::getDrugIngredientCodes(cdm = cdm, name = ingredient, doseForm = doseForm, ingredientRange = ingredientRange, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateIngredientCohortSet(...) at test-generatedIngredientCohortSet.R:77:3 [ FAIL 4 | WARN 8 | SKIP 20 | PASS 146 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.6.1
Check: tests
Result: ERROR Running 'testthat.R' [179s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(DrugUtilisation) > > test_check("DrugUtilisation") Starting 2 test processes [ FAIL 4 | WARN 8 | SKIP 20 | PASS 146 ] ══ Skipped tests (20) ══════════════════════════════════════════════════════════ • On CRAN (19): 'test-benchmarkDUS.R:2:3', 'test-dailyDose.R:2:3', 'test-generateDrugUtilisationCohortSet.R:48:3', 'test-generateDrugUtilisationCohortSet.R:147:3', 'test-generateDrugUtilisationCohortSet.R:203:3', 'test-generateDrugUtilisationCohortSet.R:253:3', 'test-generateDrugUtilisationCohortSet.R:349:3', 'test-indication.R:3:3', 'test-indication.R:185:3', 'test-indication.R:339:3', 'test-indication.R:464:3', 'test-drugUse.R:2:3', 'test-drugUse.R:40:3', 'test-drugUse.R:254:3', 'test-drugUse.R:455:3', 'test-drugUse.R:597:3', 'test-drugUse.R:847:3', 'test-drugUse.R:868:3', 'test-drugUse.R:914:3' • empty test (1): 'test-generateConceptCohortSet.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-generatedAtcCohortSet.R:4:3'): test same results for ingredient cohorts ── Error in `CodelistGenerator::getATCCodes(cdm, name = atcName, level = level, doseForm = doseForm, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateAtcCohortSet(cdm = cdm, name = "test_cohort_1") at test-generatedAtcCohortSet.R:4:3 ── Error ('test-generatedIngredientCohortSet.R:4:3'): test same results for ingredient cohorts ── Error in `CodelistGenerator::getDrugIngredientCodes(cdm = cdm, name = ingredient, doseForm = doseForm, ingredientRange = ingredientRange, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateIngredientCohortSet(...) at test-generatedIngredientCohortSet.R:4:3 ── Error ('test-generatedIngredientCohortSet.R:54:3'): date works ────────────── Error in `CodelistGenerator::getDrugIngredientCodes(cdm = cdm, name = ingredient, doseForm = doseForm, ingredientRange = ingredientRange, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateIngredientCohortSet(...) at test-generatedIngredientCohortSet.R:54:3 ── Error ('test-generatedIngredientCohortSet.R:77:3'): ingredient list and vector both work ── Error in `CodelistGenerator::getDrugIngredientCodes(cdm = cdm, name = ingredient, doseForm = doseForm, ingredientRange = ingredientRange, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateIngredientCohortSet(...) at test-generatedIngredientCohortSet.R:77:3 [ FAIL 4 | WARN 8 | SKIP 20 | PASS 146 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64

Version: 0.6.1
Check: tests
Result: ERROR Running ‘testthat.R’ [523s/337s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(DrugUtilisation) > > test_check("DrugUtilisation") Starting 2 test processes [ FAIL 4 | WARN 8 | SKIP 20 | PASS 146 ] ══ Skipped tests (20) ══════════════════════════════════════════════════════════ • On CRAN (19): 'test-benchmarkDUS.R:2:3', 'test-dailyDose.R:2:3', 'test-generateDrugUtilisationCohortSet.R:48:3', 'test-generateDrugUtilisationCohortSet.R:147:3', 'test-generateDrugUtilisationCohortSet.R:203:3', 'test-generateDrugUtilisationCohortSet.R:253:3', 'test-generateDrugUtilisationCohortSet.R:349:3', 'test-indication.R:3:3', 'test-indication.R:185:3', 'test-indication.R:339:3', 'test-indication.R:464:3', 'test-drugUse.R:2:3', 'test-drugUse.R:40:3', 'test-drugUse.R:254:3', 'test-drugUse.R:455:3', 'test-drugUse.R:597:3', 'test-drugUse.R:847:3', 'test-drugUse.R:868:3', 'test-drugUse.R:914:3' • empty test (1): 'test-generateConceptCohortSet.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-generatedAtcCohortSet.R:4:3'): test same results for ingredient cohorts ── Error in `CodelistGenerator::getATCCodes(cdm, name = atcName, level = level, doseForm = doseForm, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateAtcCohortSet(cdm = cdm, name = "test_cohort_1") at test-generatedAtcCohortSet.R:4:3 ── Error ('test-generatedIngredientCohortSet.R:4:3'): test same results for ingredient cohorts ── Error in `CodelistGenerator::getDrugIngredientCodes(cdm = cdm, name = ingredient, doseForm = doseForm, ingredientRange = ingredientRange, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateIngredientCohortSet(...) at test-generatedIngredientCohortSet.R:4:3 ── Error ('test-generatedIngredientCohortSet.R:54:3'): date works ────────────── Error in `CodelistGenerator::getDrugIngredientCodes(cdm = cdm, name = ingredient, doseForm = doseForm, ingredientRange = ingredientRange, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateIngredientCohortSet(...) at test-generatedIngredientCohortSet.R:54:3 ── Error ('test-generatedIngredientCohortSet.R:77:3'): ingredient list and vector both work ── Error in `CodelistGenerator::getDrugIngredientCodes(cdm = cdm, name = ingredient, doseForm = doseForm, ingredientRange = ingredientRange, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateIngredientCohortSet(...) at test-generatedIngredientCohortSet.R:77:3 [ FAIL 4 | WARN 8 | SKIP 20 | PASS 146 ] Error: Test failures Execution halted Flavor: r-patched-linux-x86_64

Version: 0.6.1
Check: tests
Result: ERROR Running ‘testthat.R’ [508s/301s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(DrugUtilisation) > > test_check("DrugUtilisation") Starting 2 test processes [ FAIL 4 | WARN 8 | SKIP 20 | PASS 146 ] ══ Skipped tests (20) ══════════════════════════════════════════════════════════ • On CRAN (19): 'test-benchmarkDUS.R:2:3', 'test-dailyDose.R:2:3', 'test-generateDrugUtilisationCohortSet.R:48:3', 'test-generateDrugUtilisationCohortSet.R:147:3', 'test-generateDrugUtilisationCohortSet.R:203:3', 'test-generateDrugUtilisationCohortSet.R:253:3', 'test-generateDrugUtilisationCohortSet.R:349:3', 'test-drugUse.R:2:3', 'test-drugUse.R:40:3', 'test-drugUse.R:254:3', 'test-drugUse.R:455:3', 'test-drugUse.R:597:3', 'test-drugUse.R:847:3', 'test-drugUse.R:868:3', 'test-drugUse.R:914:3', 'test-indication.R:3:3', 'test-indication.R:185:3', 'test-indication.R:339:3', 'test-indication.R:464:3' • empty test (1): 'test-generateConceptCohortSet.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-generatedAtcCohortSet.R:4:3'): test same results for ingredient cohorts ── Error in `CodelistGenerator::getATCCodes(cdm, name = atcName, level = level, doseForm = doseForm, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateAtcCohortSet(cdm = cdm, name = "test_cohort_1") at test-generatedAtcCohortSet.R:4:3 ── Error ('test-generatedIngredientCohortSet.R:4:3'): test same results for ingredient cohorts ── Error in `CodelistGenerator::getDrugIngredientCodes(cdm = cdm, name = ingredient, doseForm = doseForm, ingredientRange = ingredientRange, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateIngredientCohortSet(...) at test-generatedIngredientCohortSet.R:4:3 ── Error ('test-generatedIngredientCohortSet.R:54:3'): date works ────────────── Error in `CodelistGenerator::getDrugIngredientCodes(cdm = cdm, name = ingredient, doseForm = doseForm, ingredientRange = ingredientRange, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateIngredientCohortSet(...) at test-generatedIngredientCohortSet.R:54:3 ── Error ('test-generatedIngredientCohortSet.R:77:3'): ingredient list and vector both work ── Error in `CodelistGenerator::getDrugIngredientCodes(cdm = cdm, name = ingredient, doseForm = doseForm, ingredientRange = ingredientRange, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateIngredientCohortSet(...) at test-generatedIngredientCohortSet.R:77:3 [ FAIL 4 | WARN 8 | SKIP 20 | PASS 146 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64

Version: 0.6.1
Check: tests
Result: ERROR Running 'testthat.R' [173s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(DrugUtilisation) > > test_check("DrugUtilisation") Starting 2 test processes [ FAIL 4 | WARN 8 | SKIP 20 | PASS 146 ] ══ Skipped tests (20) ══════════════════════════════════════════════════════════ • On CRAN (19): 'test-benchmarkDUS.R:2:3', 'test-dailyDose.R:2:3', 'test-generateDrugUtilisationCohortSet.R:48:3', 'test-generateDrugUtilisationCohortSet.R:147:3', 'test-generateDrugUtilisationCohortSet.R:203:3', 'test-generateDrugUtilisationCohortSet.R:253:3', 'test-generateDrugUtilisationCohortSet.R:349:3', 'test-drugUse.R:2:3', 'test-drugUse.R:40:3', 'test-drugUse.R:254:3', 'test-drugUse.R:455:3', 'test-drugUse.R:597:3', 'test-drugUse.R:847:3', 'test-drugUse.R:868:3', 'test-drugUse.R:914:3', 'test-indication.R:3:3', 'test-indication.R:185:3', 'test-indication.R:339:3', 'test-indication.R:464:3' • empty test (1): 'test-generateConceptCohortSet.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-generatedAtcCohortSet.R:4:3'): test same results for ingredient cohorts ── Error in `CodelistGenerator::getATCCodes(cdm, name = atcName, level = level, doseForm = doseForm, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateAtcCohortSet(cdm = cdm, name = "test_cohort_1") at test-generatedAtcCohortSet.R:4:3 ── Error ('test-generatedIngredientCohortSet.R:4:3'): test same results for ingredient cohorts ── Error in `CodelistGenerator::getDrugIngredientCodes(cdm = cdm, name = ingredient, doseForm = doseForm, ingredientRange = ingredientRange, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateIngredientCohortSet(...) at test-generatedIngredientCohortSet.R:4:3 ── Error ('test-generatedIngredientCohortSet.R:54:3'): date works ────────────── Error in `CodelistGenerator::getDrugIngredientCodes(cdm = cdm, name = ingredient, doseForm = doseForm, ingredientRange = ingredientRange, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateIngredientCohortSet(...) at test-generatedIngredientCohortSet.R:54:3 ── Error ('test-generatedIngredientCohortSet.R:77:3'): ingredient list and vector both work ── Error in `CodelistGenerator::getDrugIngredientCodes(cdm = cdm, name = ingredient, doseForm = doseForm, ingredientRange = ingredientRange, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateIngredientCohortSet(...) at test-generatedIngredientCohortSet.R:77:3 [ FAIL 4 | WARN 8 | SKIP 20 | PASS 146 ] Error: Test failures Execution halted Flavor: r-release-windows-x86_64

Version: 0.6.1
Check: running R code from vignettes
Result: ERROR Errors in running code in vignettes: when running code in ‘a01_introCreateCohort.Rmd’ ... "duckdb_connection#ANY" would also be valid > conceptSet_json <- codesFromConceptSet(here::here("inst/Concept"), + cdm) When sourcing ‘a01_introCreateCohort.R’: Error: Invalid path: /private/var/folders/k4/0jwzxmln0nb8y6rkzprptb640000gq/T/RtmpbcP7nU/file1476046b72bd8/vignettes/inst/Concept Execution halted Warning: Connection is garbage-collected, use dbDisconnect() to avoid this. ‘a01_introCreateCohort.Rmd’ using ‘UTF-8’... failed ‘a02_scalingOfInstantiateCohorts.Rmd’ using ‘UTF-8’... [0s/0s] OK ‘a03_addIndications-example.Rmd’ using ‘UTF-8’... [23s/36s] OK ‘a04_addDrugInfo.Rmd’ using ‘UTF-8’... [58s/83s] OK ‘a05_treatmentDiscontinuation.Rmd’ using ‘UTF-8’... [0s/0s] OK ‘a06_treatmentSummary.Rmd’ using ‘UTF-8’... [9s/15s] OK ‘a07_characteriseACohort.Rmd’ using ‘UTF-8’... [0s/0s] OK ‘routePatternDose.Rmd’ using ‘UTF-8’... [25s/39s] OK Flavor: r-oldrel-macos-arm64

Version: 0.6.1
Check: running R code from vignettes
Result: ERROR Errors in running code in vignettes: when running code in ‘a01_introCreateCohort.Rmd’ ... ■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 90% | ETA: 0s > conceptSet_json <- codesFromConceptSet(here::here("inst/Concept"), + cdm) When sourcing ‘a01_introCreateCohort.R’: Error: Invalid path: /private/var/folders/2b/t0kwbtmn3p7brv2mvx39c9cr0000gn/T/RtmpyWBUmK/file136939b52a1e/vignettes/inst/Concept Execution halted Warning: Connection is garbage-collected, use dbDisconnect() to avoid this. ‘a01_introCreateCohort.Rmd’ using ‘UTF-8’... failed ‘a02_scalingOfInstantiateCohorts.Rmd’ using ‘UTF-8’... [0s/1s] OK ‘a03_addIndications-example.Rmd’ using ‘UTF-8’... [35s/71s] OK ‘a04_addDrugInfo.Rmd’ using ‘UTF-8’... [81s/87s] OK ‘a05_treatmentDiscontinuation.Rmd’ using ‘UTF-8’... [0s/0s] OK ‘a06_treatmentSummary.Rmd’ using ‘UTF-8’... [12s/12s] OK ‘a07_characteriseACohort.Rmd’ using ‘UTF-8’... [0s/0s] OK ‘routePatternDose.Rmd’ using ‘UTF-8’... [34s/36s] OK Flavor: r-oldrel-macos-x86_64

Version: 0.6.1
Check: tests
Result: ERROR Running 'testthat.R' [268s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(DrugUtilisation) > > test_check("DrugUtilisation") Starting 2 test processes [ FAIL 4 | WARN 9 | SKIP 20 | PASS 146 ] ══ Skipped tests (20) ══════════════════════════════════════════════════════════ • On CRAN (19): 'test-benchmarkDUS.R:2:3', 'test-dailyDose.R:2:3', 'test-generateDrugUtilisationCohortSet.R:48:3', 'test-generateDrugUtilisationCohortSet.R:147:3', 'test-generateDrugUtilisationCohortSet.R:203:3', 'test-generateDrugUtilisationCohortSet.R:253:3', 'test-generateDrugUtilisationCohortSet.R:349:3', 'test-drugUse.R:2:3', 'test-drugUse.R:40:3', 'test-drugUse.R:254:3', 'test-drugUse.R:455:3', 'test-drugUse.R:597:3', 'test-drugUse.R:847:3', 'test-drugUse.R:868:3', 'test-drugUse.R:914:3', 'test-indication.R:3:3', 'test-indication.R:185:3', 'test-indication.R:339:3', 'test-indication.R:464:3' • empty test (1): 'test-generateConceptCohortSet.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-generatedAtcCohortSet.R:4:3'): test same results for ingredient cohorts ── Error in `CodelistGenerator::getATCCodes(cdm, name = atcName, level = level, doseForm = doseForm, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateAtcCohortSet(cdm = cdm, name = "test_cohort_1") at test-generatedAtcCohortSet.R:4:3 ── Error ('test-generatedIngredientCohortSet.R:4:3'): test same results for ingredient cohorts ── Error in `CodelistGenerator::getDrugIngredientCodes(cdm = cdm, name = ingredient, doseForm = doseForm, ingredientRange = ingredientRange, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateIngredientCohortSet(...) at test-generatedIngredientCohortSet.R:4:3 ── Error ('test-generatedIngredientCohortSet.R:54:3'): date works ────────────── Error in `CodelistGenerator::getDrugIngredientCodes(cdm = cdm, name = ingredient, doseForm = doseForm, ingredientRange = ingredientRange, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateIngredientCohortSet(...) at test-generatedIngredientCohortSet.R:54:3 ── Error ('test-generatedIngredientCohortSet.R:77:3'): ingredient list and vector both work ── Error in `CodelistGenerator::getDrugIngredientCodes(cdm = cdm, name = ingredient, doseForm = doseForm, ingredientRange = ingredientRange, withConceptDetails = FALSE)`: unused argument (withConceptDetails = FALSE) Backtrace: ▆ 1. └─DrugUtilisation::generateIngredientCohortSet(...) at test-generatedIngredientCohortSet.R:77:3 [ FAIL 4 | WARN 9 | SKIP 20 | PASS 146 ] Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64