Running ‘testthat.R’ [327s/393s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > test_check("rtables", reporter = "check")
  Loading required package: rtables
  Loading required package: formatters
  
  Attaching package: 'formatters'
  
  The following object is masked from 'package:base':
  
      %||%
  
  Loading required package: magrittr
  
  Attaching package: 'magrittr'
  
  The following objects are masked from 'package:testthat':
  
      equals, is_less_than, not
  
  
  Attaching package: 'rtables'
  
  The following object is masked from 'package:utils':
  
      str
  
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  Failed with error:  'there is no package called 'bwrereloakdosirabttjtaeerr''
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 1504 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-pagination.R:450:3'): Pagination works with non-default min_siblings ──
  `paginate_table(tt, lpp = 3, min_siblings = 1)` threw an error with unexpected message.
  Expected match: "Unable to find any valid pagination split between rows 1 and 1"
  Actual message: "-------------------------------------- Error Summary ----------------------------------------\nUnable to find any valid pagination split for page 1 between rows 1 and 1. \nInserted lpp (row-space, lines per page) : 3\nContext-relevant additional header/footers lines: 2\nLimit of allowed row lines per page: 1 \nNote: take a look at the last FAIL(ed) attempt above to see what went wrong. It could be, for example, that the inserted column width induces some wrapping, hence the inserted number of lines (lpp) is not enough."
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-pagination.R:450:3
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─rtables::paginate_table(tt, lpp = 3, min_siblings = 1)
    7.   └─formatters::paginate_indices(...)
    8.     └─formatters::pag_indices_inner(...)
    9.       └─formatters:::find_pag(...)
   10.         └─formatters:::find_pag(...)
  ── Failure ('test-printing.R:326:3'): Decimal alignment works ──────────────────
  `res` not identical to `expected`.
  Lengths differ: 18 is not 17
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 1504 ]
  Error: Test failures
  Execution halted