Running ‘testthat.R’ [52s/31s]
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/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(crosstable)
  
  Attaching package: 'crosstable'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  > 
  > test_check("crosstable")
  Starting 2 test processes
  [ FAIL 1 | WARN 0 | SKIP 41 | PASS 344 ]
  
  ══ Skipped tests (41) ══════════════════════════════════════════════════════════
  • On CRAN (41): 'test-officer.R:1:1', 'test-by_numeric.R:80:3',
    'test-by_numeric.R:163:3', 'test-by_numeric.R:168:3', 'test-compact.R:36:5',
    'test-compact.R:46:5', 'test-crosstable.R:138:3', 'test-effects_snap.R:2:1',
    'test-by_factor.R:14:3', 'test-by_factor.R:29:3', 'test-by_factor.R:46:3',
    'test-by_factor.R:65:3', 'test-by_factor.R:85:3', 'test-by_factor.R:126:3',
    'test-by_factor.R:172:3', 'test-by_factor.R:207:3', 'test-by_factor.R:252:3',
    'test-by_factor.R:271:3', 'test-by_factor.R:290:3', 'test-by_factor.R:335:3',
    'test-labels.R:21:3', 'test-labels.R:46:3', 'test-labels.R:197:3',
    'test-labels.R:215:3', 'test-methods.R:15:3', 'test-options.R:10:3',
    'test-options.R:104:3', 'test-pivot.R:17:3', 'test-quick_surv.R:10:3',
    'test-flextable.R:11:3', 'test-flextable.R:25:3', 'test-flextable.R:32:3',
    'test-flextable.R:43:3', 'test-flextable.R:58:3', 'test-flextable.R:68:3',
    'test-flextable.R:81:3', 'test-flextable.R:88:3', 'test-tests.R:77:3',
    'test-tests.R:104:5', 'test-selection.R:245:3', 'test-selection.R:267:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-tests.R:22:5'): Statistical Tests ────────────────────────────
  x$test[1] (`actual`) not equal to "p value: 0.0002 \n(Wilcoxon rank sum test)" (`expected`).
  
  `lines(actual)`:   "p value: <0.0001 " "(Wilcoxon rank sum exact test)"
  `lines(expected)`: "p value: 0.0002 "  "(Wilcoxon rank sum test)"      
  
  [ FAIL 1 | WARN 0 | SKIP 41 | PASS 344 ]
  Error: Test failures
  Execution halted