CRAN Package Check Results for Package DrugUtilisation

Last updated on 2024-05-01 08:55:05 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.3 9.98 507.03 517.01 OK
r-devel-linux-x86_64-debian-gcc 0.5.3 6.77 355.97 362.74 OK
r-devel-linux-x86_64-fedora-clang 0.5.3 628.55 ERROR
r-devel-linux-x86_64-fedora-gcc 0.5.3 598.61 ERROR
r-devel-windows-x86_64 0.5.3 9.00 202.00 211.00 OK
r-patched-linux-x86_64 0.5.3 6.98 490.61 497.59 OK
r-release-linux-x86_64 0.5.3 6.30 488.66 494.96 OK
r-release-macos-arm64 0.5.3 104.00 OK
r-release-macos-x86_64 0.5.3 209.00 OK
r-release-windows-x86_64 0.5.3 9.00 199.00 208.00 OK
r-oldrel-macos-arm64 0.5.3 111.00 OK
r-oldrel-macos-x86_64 0.5.3 257.00 OK
r-oldrel-windows-x86_64 0.5.3 12.00 280.00 292.00 OK

Check Details

Version: 0.5.3
Check: tests
Result: ERROR Running ‘testthat.R’ [523s/296s] 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 3 | WARN 71 | SKIP 20 | PASS 154 ] ══ 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 ════════════════════════════════════════════════════════════════ ── Failure ('test-indication.R:648:3'): summariseIndication ──────────────────── grepl("summarised_indication", unique(result$result_type)) is not TRUE `actual`: `expected`: TRUE ── Failure ('test-largeScaleCharacteristics.R:8:3'): basic functionality summariseCodelist ── Expected `summariseCharacteristicsFromCodelist(cdm[["cohort1"]], conceptSet = conceptSet)` to run without any errors. i Actually got a <vctrs_error_subscript_oob> with text: Can't select columns that don't exist. x Column `result_type` doesn't exist. ── Failure ('test-largeScaleCharacteristics.R:14:3'): basic functionality summariseCodelist ── Expected `summariseCharacteristicsFromCodelist(...)` to run without any errors. i Actually got a <vctrs_error_subscript_oob> with text: Can't select columns that don't exist. x Column `result_type` doesn't exist. [ FAIL 3 | WARN 71 | SKIP 20 | PASS 154 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.5.3
Check: tests
Result: ERROR Running ‘testthat.R’ [503s/267s] 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 3 | WARN 71 | SKIP 20 | PASS 154 ] ══ 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 ════════════════════════════════════════════════════════════════ ── Failure ('test-indication.R:648:3'): summariseIndication ──────────────────── grepl("summarised_indication", unique(result$result_type)) is not TRUE `actual`: `expected`: TRUE ── Failure ('test-largeScaleCharacteristics.R:8:3'): basic functionality summariseCodelist ── Expected `summariseCharacteristicsFromCodelist(cdm[["cohort1"]], conceptSet = conceptSet)` to run without any errors. i Actually got a <vctrs_error_subscript_oob> with text: Can't select columns that don't exist. x Column `result_type` doesn't exist. ── Failure ('test-largeScaleCharacteristics.R:14:3'): basic functionality summariseCodelist ── Expected `summariseCharacteristicsFromCodelist(...)` to run without any errors. i Actually got a <vctrs_error_subscript_oob> with text: Can't select columns that don't exist. x Column `result_type` doesn't exist. [ FAIL 3 | WARN 71 | SKIP 20 | PASS 154 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc