Running 'testthat.R' [40s]
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(visOmopResults)
  Registered S3 method overwritten by 'visOmopResults':
    method                 from        
    tidy.summarised_result omopgenerics
  > 
  > test_check("visOmopResults")
  Starting 2 test processes
  [ FAIL 14 | WARN 49 | SKIP 0 | PASS 476 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-addSettings.R:17:3'): addSettings ────────────────────────────
  Expected `... <- NULL` to run without any errors.
  i Actually got a <rlang_error> with text:
    In result_id = 1: `sex` present in both group and strata.
    In result_id = 2: `sex` present in both group and strata.
  ── Error ('test-addSettings.R:27:3'): addSettings ──────────────────────────────
  Error in `eval(code, test_env)`: object 'res' not found
  Backtrace:
      ▆
   1. ├─testthat::expect_identical(...) at test-addSettings.R:27:3
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─base::sort(colnames(settings(res)))
   5. ├─base::colnames(settings(res))
   6. │ └─base::is.data.frame(x)
   7. └─omopgenerics::settings(res)
  ── Failure ('test-filter.R:35:3'): filterSettings ──────────────────────────────
  Expected `... <- NULL` to run without any errors.
  i Actually got a <rlang_error> with text:
    In result_id = 1: `sex` present in both group and strata.
    In result_id = 2: `sex` present in both group and strata.
  ── Error ('test-filter.R:45:3'): filterSettings ────────────────────────────────
  Error in `eval(code, test_env)`: object 'res' not found
  Backtrace:
      ▆
   1. └─visOmopResults::filterSettings(res, package_name == "omock") at test-filter.R:45:3
   2.   └─visOmopResults:::validateSettingsAttribute(result)
  ── Failure ('test-tidy.R:37:3'): tidySummarisedResult ──────────────────────────
  all(...) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-visOmopTable.R:3:3'): visOmopTable ───────────────────────────
  `expect_no_error(...)` did not throw the expected message.
  ── Failure ('test-visOmopTable.R:20:3'): visOmopTable ──────────────────────────
  `expect_no_error(...)` did not throw the expected message.
  ── Failure ('test-visOmopTable.R:46:3'): visOmopTable ──────────────────────────
  `expect_no_error(...)` did not throw the expected message.
  ── Failure ('test-visOmopTable.R:65:3'): visOmopTable ──────────────────────────
  `expect_no_error(...)` did not throw the expected message.
  ── Failure ('test-visOmopTable.R:86:3'): visOmopTable ──────────────────────────
  `expect_no_error(...)` did not throw the expected message.
  ── Failure ('test-visOmopTable.R:132:3'): visOmopTable ─────────────────────────
  all(...) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-visOmopTable.R:136:3'): visOmopTable ─────────────────────────
  all(...) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  ── Failure ('test-visOmopTable.R:153:3'): renameColumn works ───────────────────
  `expect_no_error(...)` did not throw the expected message.
  ── Failure ('test-visOmopTable.R:186:3'): renameColumn works ───────────────────
  `expect_warning(...)` did not throw the expected message.
  
  [ FAIL 14 | WARN 49 | SKIP 0 | PASS 476 ]
  Error: Test failures
  Execution halted