Running ‘testthat.R’ [262s/311s]
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
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 1571 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-printing.R:707:3'): Support for newline characters in all the parts ──
  `out` not identical to `expected`.
  5/46 mismatches
  x[6]: "a                        ARM     "
  y[6]: "                         ARM     "
  
  x[7]: "b                                "
  y[7]: "                                 "
  
  x[8]: "d                         A      "
  y[8]: "a                         A      "
  
  x[9]: "                             A wo"
  y[9]: "b                            A wo"
  
  x[10]: "                      TWO        "
  y[10]: "d                     TWO        "
  ── Failure ('test-printing.R:711:3'): Support for newline characters in all the parts ──
  `out` not identical to `expected`.
  5/46 mismatches
  x[6]: "a                        ARM     "
  y[6]: "                         ARM     "
  
  x[7]: "b                                "
  y[7]: "                                 "
  
  x[8]: "d                         A      "
  y[8]: "a                         A      "
  
  x[9]: "                             A wo"
  y[9]: "b                            A wo"
  
  x[10]: "                      TWO        "
  y[10]: "d                     TWO        "
  ── Failure ('test-printing.R:715:3'): Support for newline characters in all the parts ──
  `out` not identical to `expected`.
  5/46 mismatches
  x[6]: "a                        ARM     "
  y[6]: "                         ARM     "
  
  x[7]: "b                                "
  y[7]: "                                 "
  
  x[8]: "d                         A      "
  y[8]: "a                         A      "
  
  x[9]: "                             A wo"
  y[9]: "b                            A wo"
  
  x[10]: "                      TWO        "
  y[10]: "d                     TWO        "
  
  [ FAIL 3 | WARN 0 | SKIP 0 | PASS 1571 ]
  Error: Test failures
  Execution halted