CRAN Package Check Results for Maintainer ‘Marti Catala <marti.catalasabate at ndorms.ox.ac.uk>’

Last updated on 2025-06-04 15:50:03 CEST.

Package ERROR WARN NOTE OK
CohortCharacteristics 3 10
DrugUtilisation 2 11
omopgenerics 1 12
OmopViewer 13
PatientProfiles 13

Package CohortCharacteristics

Current CRAN status: NOTE: 3, OK: 10

Version: 1.0.0
Check: installed package size
Result: NOTE installed size is 6.1Mb sub-directories of 1Mb or more: doc 4.0Mb help 1.8Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64

Version: 1.0.0
Check: DESCRIPTION meta-information
Result: NOTE Packages listed in more than one of Depends, Imports, Suggests, Enhances: ‘reactable’ ‘DT’ A package should be listed in only one of these fields. Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64

Package DrugUtilisation

Current CRAN status: ERROR: 2, OK: 11

Version: 1.0.2
Check: tests
Result: ERROR Running ‘testthat.R’ [283s/143s] 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 6 | WARN 0 | SKIP 43 | PASS 110 ] ══ Skipped tests (43) ══════════════════════════════════════════════════════════ • On CRAN (43): 'test-benchmarkDrugUtilisation.R:2:3', 'test-dailyDose.R:2:3', 'test-addDrugUtilisation.R:3:3', 'test-addDrugUtilisation.R:162:3', 'test-addDrugUtilisation.R:202:3', 'test-generateDrugUtilisationCohortSet.R:2:3', 'test-generateDrugUtilisationCohortSet.R:23:3', 'test-generateDrugUtilisationCohortSet.R:209:3', 'test-generatedAtcCohortSet.R:2:3', 'test-generatedIngredientCohortSet.R:2:3', 'test-generatedIngredientCohortSet.R:32:3', 'test-generatedIngredientCohortSet.R:49:3', 'test-generatedIngredientCohortSet.R:64:3', 'test-generatedIngredientCohortSet.R:93:3', 'test-patterns.R:2:3', 'test-plotProportionOfPatientsCovered.R:2:3', 'test-plotProportionOfPatientsCovered.R:53:3', 'test-plotProportionOfPatientsCovered.R:95:3', 'test-plotTreatment.R:2:3', 'test-plots.R:2:3', 'test-plots.R:93:3', 'test-plots.R:157:3', 'test-require.R:2:3', 'test-require.R:108:3', 'test-require.R:313:3', 'test-require.R:419:3', 'test-require.R:513:3', 'test-require.R:584:3', 'test-indication.R:2:3', 'test-indication.R:201:3', 'test-indication.R:366:3', 'test-indication.R:483:3', 'test-summariseProportionOfPatientsCovered.R:94:3', 'test-summariseProportionOfPatientsCovered.R:170:3', 'test-summariseProportionOfPatientsCovered.R:277:3', 'test-summariseProportionOfPatientsCovered.R:499:3', 'test-summariseProportionOfPatientsCovered.R:552:3', 'test-tables.R:2:3', 'test-tables.R:97:3', 'test-tables.R:222:3', 'test-tables.R:306:3', 'test-tables.R:398:3', 'test-tables.R:457:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-generateDrugUtilisationCohortSet.R:142:3'): cohort attrition ── any(...) is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-generateDrugUtilisationCohortSet.R:166:3'): cohort attrition ── colnames(cdm$cohort2) (`actual`) not identical to c(omopgenerics::cohortColumns("cohort"), "number_exposures") (`expected`). actual | expected [3] "cohort_start_date" | "cohort_start_date" [3] [4] "cohort_end_date" | "cohort_end_date" [4] [5] "number_exposures" | "number_exposures" [5] [6] "days_prescribed" - ── Failure ('test-generateDrugUtilisationCohortSet.R:177:3'): cohort attrition ── colnames(cdm$cohort3) (`actual`) not identical to c(omopgenerics::cohortColumns("cohort"), "days_prescribed") (`expected`). actual | expected [2] "subject_id" | "subject_id" [2] [3] "cohort_start_date" | "cohort_start_date" [3] [4] "cohort_end_date" | "cohort_end_date" [4] [5] "number_exposures" - [6] "days_prescribed" | "days_prescribed" [5] ── Failure ('test-generateDrugUtilisationCohortSet.R:188:3'): cohort attrition ── colnames(cdm$cohort4) (`actual`) not identical to omopgenerics::cohortColumns("cohort") (`expected`). actual | expected [2] "subject_id" | "subject_id" [2] [3] "cohort_start_date" | "cohort_start_date" [3] [4] "cohort_end_date" | "cohort_end_date" [4] [5] "number_exposures" - [6] "days_prescribed" - ── Failure ('test-generateDrugUtilisationCohortSet.R:202:3'): cohort attrition ── cohort1$number_exposures (`actual`) not identical to c(4L, 1L, 1L) (`expected`). `actual`: `expected`: 4 1 1 ── Failure ('test-generateDrugUtilisationCohortSet.R:203:3'): cohort attrition ── cohort1$days_prescribed (`actual`) not identical to c(134L, 46L, 24L) (`expected`). `actual`: `expected`: 134 46 24 [ FAIL 6 | WARN 0 | SKIP 43 | PASS 110 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.2
Check: tests
Result: ERROR Running 'testthat.R' [159s] 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 6 | WARN 0 | SKIP 43 | PASS 110 ] ══ Skipped tests (43) ══════════════════════════════════════════════════════════ • On CRAN (43): 'test-benchmarkDrugUtilisation.R:2:3', 'test-dailyDose.R:2:3', 'test-addDrugUtilisation.R:3:3', 'test-addDrugUtilisation.R:162:3', 'test-addDrugUtilisation.R:202:3', 'test-generatedAtcCohortSet.R:2:3', 'test-generatedIngredientCohortSet.R:2:3', 'test-generatedIngredientCohortSet.R:32:3', 'test-generatedIngredientCohortSet.R:49:3', 'test-generatedIngredientCohortSet.R:64:3', 'test-generatedIngredientCohortSet.R:93:3', 'test-generateDrugUtilisationCohortSet.R:2:3', 'test-generateDrugUtilisationCohortSet.R:23:3', 'test-generateDrugUtilisationCohortSet.R:209:3', 'test-patterns.R:2:3', 'test-plotProportionOfPatientsCovered.R:2:3', 'test-plotProportionOfPatientsCovered.R:53:3', 'test-plotProportionOfPatientsCovered.R:95:3', 'test-plotTreatment.R:2:3', 'test-plots.R:2:3', 'test-plots.R:93:3', 'test-plots.R:157:3', 'test-require.R:2:3', 'test-require.R:108:3', 'test-require.R:313:3', 'test-require.R:419:3', 'test-require.R:513:3', 'test-require.R:584:3', 'test-indication.R:2:3', 'test-indication.R:201:3', 'test-indication.R:366:3', 'test-indication.R:483:3', 'test-summariseProportionOfPatientsCovered.R:94:3', 'test-summariseProportionOfPatientsCovered.R:170:3', 'test-summariseProportionOfPatientsCovered.R:277:3', 'test-summariseProportionOfPatientsCovered.R:499:3', 'test-summariseProportionOfPatientsCovered.R:552:3', 'test-tables.R:2:3', 'test-tables.R:97:3', 'test-tables.R:222:3', 'test-tables.R:306:3', 'test-tables.R:398:3', 'test-tables.R:457:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-generateDrugUtilisationCohortSet.R:142:3'): cohort attrition ── any(...) is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-generateDrugUtilisationCohortSet.R:166:3'): cohort attrition ── colnames(cdm$cohort2) (`actual`) not identical to c(omopgenerics::cohortColumns("cohort"), "number_exposures") (`expected`). actual | expected [3] "cohort_start_date" | "cohort_start_date" [3] [4] "cohort_end_date" | "cohort_end_date" [4] [5] "number_exposures" | "number_exposures" [5] [6] "days_prescribed" - ── Failure ('test-generateDrugUtilisationCohortSet.R:177:3'): cohort attrition ── colnames(cdm$cohort3) (`actual`) not identical to c(omopgenerics::cohortColumns("cohort"), "days_prescribed") (`expected`). actual | expected [2] "subject_id" | "subject_id" [2] [3] "cohort_start_date" | "cohort_start_date" [3] [4] "cohort_end_date" | "cohort_end_date" [4] [5] "number_exposures" - [6] "days_prescribed" | "days_prescribed" [5] ── Failure ('test-generateDrugUtilisationCohortSet.R:188:3'): cohort attrition ── colnames(cdm$cohort4) (`actual`) not identical to omopgenerics::cohortColumns("cohort") (`expected`). actual | expected [2] "subject_id" | "subject_id" [2] [3] "cohort_start_date" | "cohort_start_date" [3] [4] "cohort_end_date" | "cohort_end_date" [4] [5] "number_exposures" - [6] "days_prescribed" - ── Failure ('test-generateDrugUtilisationCohortSet.R:202:3'): cohort attrition ── cohort1$number_exposures (`actual`) not identical to c(4L, 1L, 1L) (`expected`). `actual`: `expected`: 4 1 1 ── Failure ('test-generateDrugUtilisationCohortSet.R:203:3'): cohort attrition ── cohort1$days_prescribed (`actual`) not identical to c(134L, 46L, 24L) (`expected`). `actual`: `expected`: 134 46 24 [ FAIL 6 | WARN 0 | SKIP 43 | PASS 110 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64

Package omopgenerics

Current CRAN status: WARN: 1, OK: 12

Version: 1.2.0
Check: Rd files
Result: WARN cannot open the connection cannot open the connection cannot open the connection cannot open the connection cannot open the connection cannot open the connection emptyCohortTable.Rd: Sections \title, and \name must exist and be unique in Rd files cannot open the connection emptySummarisedResult.Rd: Sections \title, and \name must exist and be unique in Rd files cannot open the connection cannot open the connection cannot open the connection cannot open the connection cannot open the connection filterSettings.Rd: Sections \title, and \name must exist and be unique in Rd files problems found in ‘cdmName.Rd’, ‘cdmReference.Rd’, ‘cdmSelect.Rd’, ‘emptyCdmReference.Rd’, ‘emptyCodelist.Rd’, ‘emptyCodelistWithDetails.Rd’, ‘emptyCohortTable.Rd’, ‘emptyOmopTable.Rd’, ‘emptySummarisedResult.Rd’, ‘estimateTypeChoices.Rd’, ‘exportCodelist.Rd’, ‘exportSummarisedResult.Rd’, ‘filterAdditional.Rd’, ‘filterGroup.Rd’, ‘filterSettings.Rd’ Flavor: r-oldrel-macos-arm64

Package OmopViewer

Current CRAN status: OK: 13

Package PatientProfiles

Current CRAN status: OK: 13

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.