Running ‘testthat.R’ [138s/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/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(CohortSymmetry)
  > 
  > test_check("CohortSymmetry")
  ===========================>---   89% | ETA:  0s
  ===========================>---   89% | ETA:  0s
  Saving _problems/test-plotTemporalSymmetry-26.R
  ===========================>---   89% | ETA:  0s
  -- 1 combination of 4 had index always before marker
  -- 1 combination of 4 had index always before marker
  ===========================>---   89% | ETA:  0s
  ===========================>---   89% | ETA:  0s
  [ FAIL 1 | WARN 42 | SKIP 59 | PASS 16 ]
  
  ══ Skipped tests (59) ══════════════════════════════════════════════════════════
  • On CRAN (55): 'test-attrition.R:2:3', 'test-attrition.R:63:3',
    'test-attrition.R:149:3', 'test-attrition.R:310:3', 'test-attrition.R:397:3',
    'test-attrition.R:461:3', 'test-attrition.R:592:3', 'test-attrition.R:769:3',
    'test-dbs.R:2:3', 'test-dbs.R:50:3', 'test-eunomia.R:2:3',
    'test-eunomia.R:65:3', 'test-generateSequenceCohortSet.R:3:3',
    'test-generateSequenceCohortSet.R:20:3',
    'test-generateSequenceCohortSet.R:59:3',
    'test-generateSequenceCohortSet.R:99:3',
    'test-generateSequenceCohortSet.R:156:3',
    'test-generateSequenceCohortSet.R:208:3',
    'test-generateSequenceCohortSet.R:262:3',
    'test-generateSequenceCohortSet.R:291:3',
    'test-generateSequenceCohortSet.R:333:3',
    'test-generateSequenceCohortSet.R:359:3',
    'test-generateSequenceCohortSet.R:430:3',
    'test-generateSequenceCohortSet.R:518:3',
    'test-generateSequenceCohortSet.R:666:3',
    'test-generateSequenceCohortSet.R:754:3',
    'test-generateSequenceCohortSet.R:767:3',
    'test-generateSequenceCohortSet.R:779:3',
    'test-generateSequenceCohortSet.R:791:3',
    'test-generateSequenceCohortSet.R:803:3',
    'test-generateSequenceCohortSet.R:821:3',
    'test-generateSequenceCohortSet.R:839:3',
    'test-generateSequenceCohortSet.R:851:3',
    'test-generateSequenceCohortSet.R:862:3',
    'test-generateSequenceCohortSet.R:873:3',
    'test-generateSequenceCohortSet.R:897:3', 'test-plotSequenceRatio.R:2:3',
    'test-plotSequenceRatio.R:42:3', 'test-plotSequenceRatio.R:80:3',
    'test-plotTemporalSymmetry.R:43:3', 'test-plotTemporalSymmetry.R:86:3',
    'test-summariseSequenceRatios.R:204:3',
    'test-summariseSequenceRatios.R:413:3',
    'test-summariseSequenceRatios.R:518:3',
    'test-summariseSequenceRatios.R:599:3',
    'test-summariseSequenceRatios.R:754:3',
    'test-summariseSequenceRatios.R:792:3',
    'test-summariseSequenceRatios.R:830:3',
    'test-summariseSequenceRatios.R:868:3',
    'test-summariseTemporalSymmetry.R:71:3',
    'test-summariseTemporalSymmetry.R:96:3', 'test-tableSequenceRatios.R:46:3',
    'test-tableSequenceRatios.R:70:3', 'test-tableTemporalSymmetry.R:46:3',
    'test-tableTemporalSymmetry.R:70:3'
  • {gt} is not installed (2): 'test-tableSequenceRatios.R:2:3',
    'test-tableTemporalSymmetry.R:2:3'
  • {visOmopResults} is not installed. (2):
    'test-summariseSequenceRatios.R:112:3',
    'test-summariseSequenceRatios.R:177:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-plotTemporalSymmetry.R:26:3'): plot working ────────────────────
  <rlib_error_package_not_found/rlang_error/error/condition>
  Error in `plotTemporalSymmetry(result = result)`: The package "visOmopResults" is required.
  Backtrace:
      ▆
   1. └─CohortSymmetry::plotTemporalSymmetry(result = result) at test-plotTemporalSymmetry.R:26:3
   2.   └─rlang::check_installed("visOmopResults")
  
  [ FAIL 1 | WARN 42 | SKIP 59 | PASS 16 ]
  Error:
  ! Test failures.
  Execution halted