R Under development (unstable) (2025-09-25 r88874 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # 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(CohortCharacteristics) > > test_check("CohortCharacteristics") Starting 2 test processes [ FAIL 1 | WARN 16 | SKIP 24 | PASS 232 ] ══ Skipped tests (24) ══════════════════════════════════════════════════════════ • On CRAN (22): 'test-benchmarkCohortCharacteristics.R:2:3', 'test-plotCharacteristics.R:2:3', 'test-plotCharacteristics.R:154:3', 'test-plotCohortCount.R:2:3', 'test-plotCohortOverlap.R:2:3', 'test-plotCohortTiming.R:2:3', 'test-plotCohortTiming.R:100:3', 'test-plotLargeScaleCharacteristics.R:3:3', 'test-summariseCohortCount.R:2:3', 'test-summariseLargeScaleCharacteristics.R:2:3', 'test-table.R:2:3', 'test-tableCharacteristics.R:2:3', 'test-tableCharacteristics.R:124:3', 'test-tableCohortAttrition.R:2:3', 'test-tableCohortCount.R:2:3', 'test-tableCohortOverlap.R:2:3', 'test-tableCohortTiming.R:2:3', 'test-tableLargeScaleCharacteristics.R:2:3', 'test-tableLargeScaleCharacteristics.R:80:3', 'test-summariseCharacteristics.R:1180:3', 'test-summariseCharacteristics.R:1411:3', 'test-summariseCharacteristics.R:1523:3' • empty test (2): 'test-plotLargeScaleCharacteristics.R:140:1', 'test-summariseCohortTiming.R:107:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-summariseCohortCodelist.R:53:3'): test summarise cohortCodelist attribute ── dplyr::as_tibble(omopgenerics::tidy(res)) (`actual`) not identical to `expected` (`expected`). actual vs expected cdm_name - actual[1, ] PatientProfilesMock + expected[1, ] PP_MOCK - actual[2, ] PatientProfilesMock + expected[2, ] PP_MOCK - actual[3, ] PatientProfilesMock + expected[3, ] PP_MOCK - actual[4, ] PatientProfilesMock + expected[4, ] PP_MOCK - actual[5, ] PatientProfilesMock + expected[5, ] PP_MOCK - actual[6, ] PatientProfilesMock + expected[6, ] PP_MOCK - actual[7, ] PatientProfilesMock + expected[7, ] PP_MOCK actual$cdm_name | expected$cdm_name [1] "PatientProfilesMock" - "PP_MOCK" [1] [2] "PatientProfilesMock" - "PP_MOCK" [2] [3] "PatientProfilesMock" - "PP_MOCK" [3] [4] "PatientProfilesMock" - "PP_MOCK" [4] [5] "PatientProfilesMock" - "PP_MOCK" [5] [6] "PatientProfilesMock" - "PP_MOCK" [6] [7] "PatientProfilesMock" - "PP_MOCK" [7] [ FAIL 1 | WARN 16 | SKIP 24 | PASS 232 ] Error: Test failures Execution halted