Running 'testthat.R' [91s]
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(crane)
  Loading required package: gtsummary
  > 
  > test_check("crane")
  Starting 2 test processes.
  Saving _problems/test-add_blank_rows-96.R
  > test-tbl_shift.R: i Converting column "ANRIND" to a factor.
  [ FAIL 1 | WARN 0 | SKIP 41 | PASS 76 ]
  
  ══ Skipped tests (41) ══════════════════════════════════════════════════════════
  • On CRAN (41): 'test-add_blank_rows.R:73:1', 'test-add_blank_rows.R:99:1',
    'test-add_difference_row.R:10:1', 'test-add_difference_row.R:52:1',
    'test-add_hierarchical_count_row.R:1:1',
    'test-add_hierarchical_count_row.R:37:1', 'test-modify_zero_recode.R:1:1',
    'test-tbl_hierarchical_rate_and_count.R:1:1',
    'test-tbl_hierarchical_rate_by_grade.R:1:1', 'test-tbl_listing.R:6:1',
    'test-tbl_listing.R:12:1', 'test-tbl_listing.R:31:1',
    'test-tbl_listing.R:42:1', 'test-tbl_listing.R:57:1',
    'test-tbl_listing.R:70:1', 'test-tbl_listing.R:89:1',
    'test-tbl_listing.R:98:1', 'test-tbl_roche_summary.R:14:1',
    'test-tbl_roche_summary.R:85:1', 'test-tbl_shift.R:23:1',
    'test-tbl_shift.R:53:1', 'test-tbl_shift.R:72:1', 'test-tbl_shift.R:89:1',
    'test-tbl_shift.R:124:1', 'test-tbl_shift.R:159:1',
    'test-tbl_survfit_quantiles.R:3:1', 'test-tbl_survfit_quantiles.R:53:1',
    'test-tbl_survfit_quantiles.R:73:1', 'test-tbl_survfit_quantiles.R:109:1',
    'test-tbl_baseline_chg.R:12:1', 'test-tbl_baseline_chg.R:42:1',
    'test-tbl_baseline_chg.R:56:1', 'test-tbl_baseline_chg.R:73:1',
    'test-tbl_baseline_chg.R:104:1', 'test-tbl_baseline_chg.R:155:1',
    'test-tbl_baseline_chg.R:170:1', 'test-tbl_survfit_times.R:3:1',
    'test-tbl_survfit_times.R:57:1', 'test-tbl_survfit_times.R:79:1',
    'test-theme_gtsummary_roche.R:1:1', 'test-theme_gtsummary_roche.R:8:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-add_blank_rows.R:93:3'): add_blank_rows(row_numbers) error ───
  Expected `dplyr::pull(out$table_body[, 1], trt)` to equal `c("Drug A", NA, "Drug B", NA, "Drug A")`.
  Differences:
  `attr(actual, 'label')` is a character vector ('Chemotherapy Treatment')
  `attr(expected, 'label')` is absent
  
  
  [ FAIL 1 | WARN 0 | SKIP 41 | PASS 76 ]
  Error:
  ! Test failures.
  Execution halted