Running ‘testthat.R’ [19s/15s]
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(TreatmentPatterns)
  > 
  > test_check("TreatmentPatterns")
  Starting 2 test processes.
  Saving _problems/test-CRAN-25.R
  > test-computePathways.R: 
  > test-computePathways.R: Attaching package: 'dplyr'
  > test-computePathways.R: 
  > test-computePathways.R: The following objects are masked from 'package:stats':
  > test-computePathways.R: 
  > test-computePathways.R:     filter, lag
  > test-computePathways.R: 
  > test-computePathways.R: The following objects are masked from 'package:base':
  > test-computePathways.R: 
  > test-computePathways.R:     intersect, setdiff, setequal, union
  > test-computePathways.R: 
  > test-multipleCohortTables.R: 
  > test-multipleCohortTables.R: Attaching package: 'dplyr'
  > test-multipleCohortTables.R: 
  > test-multipleCohortTables.R: The following objects are masked from 'package:stats':
  > test-multipleCohortTables.R: 
  > test-multipleCohortTables.R:     filter, lag
  > test-multipleCohortTables.R: 
  > test-multipleCohortTables.R: The following objects are masked from 'package:base':
  > test-multipleCohortTables.R: 
  > test-multipleCohortTables.R:     intersect, setdiff, setequal, union
  > test-multipleCohortTables.R: 
  [ FAIL 1 | WARN 0 | SKIP 105 | PASS 1 ]
  
  ══ Skipped tests (105) ═════════════════════════════════════════════════════════
  • Eunomia [2.0.0] bug (1): 'test-multipleCohortTables.R:67:3'
  • On CRAN (104): 'test-TreatmentPatternsResults.R:2:3',
    'test-TreatmentPatternsResults.R:24:3',
    'test-TreatmentPatternsResults.R:52:3',
    'test-TreatmentPatternsResults.R:80:3',
    'test-TreatmentPatternsResults.R:85:3',
    'test-TreatmentPatternsResults.R:97:3',
    'test-TreatmentPatternsResults.R:111:3',
    'test-TreatmentPatternsResults.R:125:3',
    'test-TreatmentPatternsResults.R:147:3',
    'test-TreatmentPatternsResults.R:165:3', 'test-createSankeyDiagram.R:13:3',
    'test-createSankeyDiagram.R:18:3', 'test-createSankeyDiagram.R:37:3',
    'test-createSankeyDiagram.R:84:3', 'test-createSankeyDiagram.R:124:3',
    'test-createSankeyDiagram.R:151:3', 'test-createSunburstPlot.R:17:3',
    'test-createSunburstPlot.R:26:3', 'test-createSunburstPlot.R:39:3',
    'test-computePathways.R:30:3', 'test-computePathways.R:74:3',
    'test-computePathways.R:129:3', 'test-computePathways.R:144:3',
    'test-computePathways.R:182:3', 'test-computePathways.R:197:3',
    'test-computePathways.R:229:3', 'test-computePathways.R:246:3',
    'test-computePathways.R:351:3', 'test-computePathways.R:508:3',
    'test-computePathways.R:557:3', 'test-computePathways.R:606:3',
    'test-computePathways.R:623:3', 'test-computePathways.R:642:3',
    'test-executeTreatmentPatterns.R:5:3',
    'test-executeTreatmentPatterns.R:26:3', 'test-exportPatientLevel.R:2:3',
    'test-getResultsDataModelSpecifications.R:2:3', 'test-ggSunburst.R:2:3',
    'test-ggSunburst.R:26:3', 'test-ggSunburst.R:44:3', 'test-export.R:8:3',
    'test-export.R:15:3', 'test-export.R:309:3', 'test-export.R:373:3',
    'test-export.R:419:3', 'test-export.R:458:3', 'test-export.R:499:3',
    'test-export.R:571:3', 'test-export.R:642:3', 'test-export.R:667:3',
    'test-multipleCohortTables.R:6:3', 'test-multipleCohortTables.R:116:3',
    'test-pathwaysMultipleTargetsLogical.R:18:3',
    'test-pathwaysMultipleTargetsLogical.R:224:3',
    'test-pathwaysMultipleTargetsLogical.R:315:3',
    'test-plotEventDuration.R:2:3', 'test-plotEventDuration.R:14:3',
    'test-plotEventDuration.R:41:3', 'test-plotEventDuration.R:69:3',
    'test-pathwaysLogical.R:6:3', 'test-pathwaysLogical.R:46:3',
    'test-pathwaysLogical.R:88:3', 'test-pathwaysLogical.R:130:3',
    'test-pathwaysLogical.R:172:3', 'test-pathwaysLogical.R:214:3',
    'test-pathwaysLogical.R:256:3', 'test-pathwaysLogical.R:299:3',
    'test-pathwaysLogical.R:341:3', 'test-pathwaysLogical.R:383:3',
    'test-pathwaysLogical.R:425:3', 'test-pathwaysLogical.R:467:3',
    'test-pathwaysLogical.R:509:3', 'test-pathwaysLogical.R:551:3',
    'test-pathwaysLogical.R:593:3', 'test-pathwaysLogical.R:636:3',
    'test-pathwaysLogical.R:679:3', 'test-pathwaysLogical.R:720:3',
    'test-pathwaysLogical.R:762:3', 'test-pathwaysLogical.R:804:3',
    'test-pathwaysLogical.R:847:3', 'test-pathwaysLogical.R:887:3',
    'test-pathwaysLogical.R:927:3', 'test-pathwaysLogical.R:967:3',
    'test-pathwaysLogical.R:1008:3', 'test-pathwaysLogical.R:1050:3',
    'test-pathwaysLogical.R:1091:3', 'test-pathwaysLogical.R:1135:3',
    'test-pathwaysLogical.R:1177:3', 'test-pathwaysLogical.R:1219:3',
    'test-pathwaysLogical.R:1261:3', 'test-pathwaysLogical.R:1305:3',
    'test-pathwaysLogical.R:1350:3', 'test-pathwaysLogical.R:1395:3',
    'test-pathwaysLogical.R:1440:3', 'test-pathwaysLogical.R:1485:3',
    'test-pathwaysLogical.R:1528:3', 'test-pathwaysLogical.R:1574:3',
    'test-pathwaysLogical.R:1620:3', 'test-pathwaysLogical.R:1666:3',
    'test-pathwaysLogical.R:1710:3', 'test-pathwaysLogical.R:1754:3',
    'test-pathwaysLogical.R:1801:3', 'test-pathwaysLogical.R:1857:3',
    'test-pathwaysLogical.R:1912:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-CRAN.R:21:3'): CRAN Tests ──────────────────────────────────────
  Error in `validateComputePathways()`: No 'target' cohort specified in `cohorts`.
  Backtrace:
      ▆
   1. └─TreatmentPatterns::computePathways(...) at test-CRAN.R:21:3
   2.   └─TreatmentPatterns:::validateComputePathways()
  
  [ FAIL 1 | WARN 0 | SKIP 105 | PASS 1 ]
  Error:
  ! Test failures.
  Execution halted