Running ‘testthat.R’ [76s/43s]
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)
  > 
  > test_check("visOmopResults")
  Starting 2 test processes.
  Saving _problems/test-datatableInternal-32.R
  > test-tidy.R: ! 126 duplicated rows eliminated.
  > test-plot.R: `result_type`, `package_name`, and `package_version` added to settings.
  > test-plot.R: ! Multiple values of `age_group` and `mean` detected, consider including them in either: `x`, `facet`, `colour`, and `group`.
  > test-visOmopTable.R: `result_type`, `package_name`, and `package_version` added to settings.
  > test-visTable.R: `tibble` does not support any formatting arguments: `delim`, `style`, `title`, `subtitle`, `caption`, `groupColumn`, `groupAsCol
  > test-visTable.R: umn`, `groupOrder`, and `merge`.
  > test-visTable.R: `tibble` does not support any formatting arguments: `delim`, `style`, `title`, `subtitle`, `caption`, `groupColumn`, `groupAsCol
  > test-visTable.R: umn`, `groupOrder`, and `merge`.
  > test-visTable.R: `estimate_name` and `estimate_type` must be present in `result` to apply `formatEstimateValue()`.
  > test-visOmopTable.R: `result_type`, `package_name`, and `package_version` added to settings.
  > test-visTable.R: `text_line_space`, `text_space_before`, and `text_space_after` not supported for `gt`
  > test-visTable.R: `text_line_space`, `text_space_before`, and `text_space_after` not supported for `gt`
  > test-visTable.R: `text_line_space`, `text_space_before`, and `text_space_after` not supported for `gt`
  > test-visTable.R: `text_line_space`, `text_space_before`, and `text_space_after` not supported for `gt`
  > test-visTable.R: `text_line_space`, `text_space_before`, and `text_space_after` not supported for `gt`
  > test-visTable.R: `text_line_space`, `text_space_before`, and `text_space_after` not supported for `gt`
  > test-visTable.R: `text_line_space`, `text_space_before`, and `text_space_after` not supported for `gt`
  > test-visTable.R: `text_line_space`, `text_space_before`, and `text_space_after` not supported for `gt`
  > test-visTable.R: `text_line_space`, `text_space_before`, and `text_space_after` not supported for `gt`
  > test-visTable.R: `text_line_space`, `text_space_before`, and `text_space_after` not supported for `gt`
  > test-visTable.R: `text_line_space`, `text_space_before`, and `text_space_after` not supported for `gt`
  > test-visTable.R: `text_line_space`, `text_space_before`, and `text_space_after` not supported for `gt`
  > test-visOmopTable.R: `text_line_space`, `text_space_before`, and `text_space_after` not supported for `gt`
  > test-visOmopTable.R: `text_line_space`, `text_space_before`, and `text_space_after` not supported for `gt`
  > test-visOmopTable.R: `text_line_space`, `text_space_before`, and `text_space_after` not supported for `gt`
  > test-visOmopTable.R: `text_line_space`, `text_space_before`, and `text_space_after` not supported for `gt`
  > test-visOmopTable.R: `text_line_space`, `text_space_before`, and `text_space_after` not supported for `gt`
  > test-visOmopTable.R: `text_line_space`, `text_space_before`, and `text_space_after` not supported for `gt`
  > test-visOmopTable.R: `text_line_space`, `text_space_before`, and `text_space_after` not supported for `gt`
  > test-visOmopTable.R: `text_line_space`, `text_space_before`, and `text_space_after` not supported for `gt`
  > test-visOmopTable.R: `text_line_space`, `text_space_before`, and `text_space_after` not supported for `gt`
  > test-visOmopTable.R: `text_line_space`, `text_space_before`, and `text_space_after` not supported for `gt`
  > test-visOmopTable.R: `text_line_space`, `text_space_before`, and `text_space_after` not supported for `gt`
  > test-visOmopTable.R: `text_line_space`, `text_space_before`, and `text_space_after` not supported for `gt`
  [ FAIL 1 | WARN 183 | SKIP 9 | PASS 444 ]
  
  ══ Skipped tests (9) ═══════════════════════════════════════════════════════════
  • On CRAN (9): 'test-datatableInternal.R:1:1', 'test-formatTable.R:2:3',
    'test-formatTable.R:145:3', 'test-formatTable.R:165:3',
    'test-formatTable.R:188:3', 'test-reactableInternal.R:1:1',
    'test-reactableInternal.R:21:1', 'test-tinyTable.R:2:3',
    'test-visOmopTable.R:417:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-datatableInternal.R:32:3'): Multi-level headers generate correct HTML ──
  Error in `normalizePath(target_dir, "/", TRUE)`: path[1]="lib/crosstalk-1.2.2": No such file or directory
  Backtrace:
       ▆
    1. └─testthat::expect_snapshot(dt) at test-datatableInternal.R:32:3
    2.   └─testthat:::expect_snapshot_(...)
    3.     ├─testthat:::with_is_snapshotting(...)
    4.     └─testthat:::verify_exec(quo_get_expr(x), quo_get_env(x), replay)
    5.       └─evaluate::evaluate(source, envir = env, new_device = FALSE, output_handler = handler)
    6.         ├─base::withRestarts(...)
    7.         │ └─base (local) withRestartList(expr, restarts)
    8.         │   ├─base (local) withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]])
    9.         │   │ └─base (local) doWithOneRestart(return(expr), restart)
   10.         │   └─base (local) withRestartList(expr, restarts[-nr])
   11.         │     └─base (local) withOneRestart(expr, restarts[[1L]])
   12.         │       └─base (local) doWithOneRestart(return(expr), restart)
   13.         ├─evaluate:::with_handlers(...)
   14.         │ ├─base::eval(call)
   15.         │ │ └─base::eval(call)
   16.         │ └─base::withCallingHandlers(...)
   17.         └─watcher$print_value(ev$value, ev$visible, envir)
   18.           ├─base::withVisible(handle_value(handler, value, visible, envir))
   19.           └─evaluate:::handle_value(handler, value, visible, envir)
   20.             ├─handler$value(value)
   21.             └─testthat:::testthat_print.default(value)
   22.               ├─base::print(x)
   23.               └─htmlwidgets:::print.htmlwidget(x)
   24.                 └─htmltools::html_print(...)
   25.                   ├─htmltools::save_html(...)
   26.                   └─htmltools:::save_html.default(...)
   27.                     └─base::lapply(...)
   28.                       └─htmltools (local) FUN(X[[i]], ...)
   29.                         └─htmltools::copyDependencyToDir(dep, libdir, FALSE)
   30.                           └─base::normalizePath(target_dir, "/", TRUE)
  
  [ FAIL 1 | WARN 183 | SKIP 9 | PASS 444 ]
  Error:
  ! Test failures.
  Execution halted