Running ‘testthat.R’ [95s/125s]
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(halfmoon)
  > 
  > test_check("halfmoon")
  Saving _problems/test-add_ess_header-8.R
  Ignoring unknown labels:
  * colour : "method"
  [ FAIL 1 | WARN 0 | SKIP 132 | PASS 1108 ]
  
  ══ Skipped tests (132) ═════════════════════════════════════════════════════════
  • On CRAN (132): 'test-autoplot-methods.R:1:1', 'test-autoplot-methods.R:15:1',
    'test-autoplot-methods.R:24:1', 'test-autoplot-methods.R:33:1',
    'test-autoplot-methods.R:46:1', 'test-autoplot-methods.R:60:1',
    'test-autoplot-methods.R:69:1', 'test-bal_model_auc.R:51:1',
    'test-bal_model_roc_curve.R:42:1', 'test-bal_prognostic_score.R:48:1',
    'test-bal_prognostic_score.R:172:1', 'test-bal_prognostic_score.R:187:1',
    'test-bal_qq.R:43:1', 'test-bal_qq.R:60:1', 'test-bal_qq.R:86:1',
    'test-check_balance.R:397:1', 'test-check_balance.R:724:1',
    'test-check_balance.R:734:1', 'test-check_ess.R:105:1',
    'test-check_model_auc.R:120:1', 'test-check_model_auc.R:200:1',
    'test-check_model_auc.R:230:1', 'test-check_model_auc.R:310:1',
    'test-compute_balance.R:128:1', 'test-compute_balance.R:265:1',
    'test-compute_balance.R:383:1', 'test-compute_balance.R:489:1',
    'test-compute_balance.R:507:1', 'test-compute_balance.R:642:3',
    'test-compute_balance.R:686:3', 'test-compute_balance.R:727:3',
    'test-compute_balance.R:751:3', 'test-compute_balance.R:777:3',
    'test-compute_balance.R:820:3', 'test-compute_balance.R:1167:1',
    'test-compute_balance.R:1233:1', 'test-compute_balance.R:1286:1',
    'test-compute_balance.R:1364:3', 'test-compute_balance.R:1398:3',
    'test-compute_balance.R:1428:3', 'test-compute_balance.R:1460:3',
    'test-compute_balance_categorical.R:259:1',
    'test-compute_balance_categorical.R:392:3',
    'test-compute_balance_categorical.R:446:3',
    'test-compute_balance_categorical.R:478:3',
    'test-compute_balance_categorical.R:532:3',
    'test-compute_balance_categorical.R:575:3',
    'test-compute_balance_categorical.R:624:3',
    'test-compute_balance_categorical.R:667:3',
    'test-compute_balance_categorical.R:719:3',
    'test-compute_balance_categorical.R:753:3',
    'test-compute_balance_categorical.R:784:3',
    'test-compute_balance_categorical.R:820:3', 'test-compute_qq.R:55:1',
    'test-compute_qq.R:67:1', 'test-compute_qq.R:77:1',
    'test-error-messages.R:1:1', 'test-error-messages.R:87:1',
    'test-error-messages.R:111:1', 'test-geom_calibration.R:78:1',
    'test-geom_calibration.R:424:1', 'test-geom_calibration.R:590:1',
    'test-geom_calibration.R:663:1', 'test-geom_calibration.R:679:1',
    'test-geom_calibration.R:693:1', 'test-geom_calibration.R:807:1',
    'test-geom_calibration.R:830:1', 'test-geom_calibration.R:853:1',
    'test-geom_calibration.R:876:1', 'test-geom_calibration.R:906:1',
    'test-geom_calibration.R:928:1', 'test-geom_calibration.R:948:1',
    'test-geom_calibration.R:1008:1', 'test-geom_calibration.R:1030:1',
    'test-geom_calibration.R:1206:1', 'test-geom_calibration.R:1244:1',
    'test-geom_ecdf.R:2:1', 'test-geom_mirrored_density.R:3:1',
    'test-geom_mirrored_density.R:19:1', 'test-geom_mirrored_density.R:38:1',
    'test-geom_mirrored_density.R:55:1', 'test-geom_mirrored_density.R:66:1',
    'test-geom_mirrored_density.R:77:1', 'test-geom_mirrored_density.R:89:1',
    'test-geom_mirrored_density.R:103:1', 'test-geom_mirrored_density.R:126:1',
    'test-geom_mirrored_density.R:145:1', 'test-geom_mirrored_density.R:177:1',
    'test-geom_mirrored_density.R:189:1', 'test-geom_mirrored_density.R:202:1',
    'test-geom_mirrored_density.R:215:1', 'test-geom_mirrored_density.R:229:1',
    'test-geom_mirrored_density.R:243:1', 'test-geom_mirrored_density.R:261:1',
    'test-geom_mirrored_density.R:275:1', 'test-geom_mirrored_density.R:289:1',
    'test-geom_mirrored_histogram.R:2:1', 'test-geom_mirrored_histogram.R:18:1',
    'test-geom_mirrored_histogram.R:39:3', 'test-geom_qq2.R:122:1',
    'test-geom_roc.R:57:1', 'test-geom_roc.R:130:1', 'test-plot_balance.R:129:1',
    'test-plot_balance.R:253:1', 'test-plot_balance.R:378:1',
    'test-plot_calibration.R:253:1', 'test-plot_ess.R:147:1',
    'test-plot_mirror_distributions.R:3:1',
    'test-plot_mirror_distributions.R:16:1',
    'test-plot_mirror_distributions.R:29:1',
    'test-plot_mirror_distributions.R:54:1',
    'test-plot_mirror_distributions.R:68:1',
    'test-plot_mirror_distributions.R:83:1',
    'test-plot_mirror_distributions.R:108:1',
    'test-plot_mirror_distributions.R:121:1',
    'test-plot_mirror_distributions.R:134:1',
    'test-plot_mirror_distributions.R:156:1',
    'test-plot_mirror_distributions.R:193:1',
    'test-plot_mirror_distributions.R:248:1',
    'test-plot_mirror_distributions.R:283:1',
    'test-plot_mirror_distributions.R:322:1',
    'test-plot_mirror_distributions.R:346:1', 'test-plot_qq.R:56:1',
    'test-plot_qq.R:68:1', 'test-plot_qq.R:80:1', 'test-plot_qq.R:111:1',
    'test-plot_qq.R:124:1', 'test-plot_roc.R:59:1', 'test-plot_roc.R:176:1',
    'test-plot_roc.R:217:1', 'test-plot_stratified_residuals.R:91:1',
    'test-plot_stratified_residuals.R:215:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-add_ess_header.R:8:1'): (code run outside of `test_that()`) ────
  Error in `tbl_svysummary(svy, include = c(age, sex, smokeyrs))`: The following columns are not present: "warning" and "error".
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-add_ess_header.R:8:1
    2. │ └─base::withCallingHandlers(...)
    3. └─gtsummary::tbl_svysummary(svy, include = c(age, sex, smokeyrs))
    4.   ├─cards::replace_null_statistic(...)
    5.   │ └─cards:::check_class(x, "card")
    6.   ├─cards::bind_ard(...)
    7.   │ └─dplyr::bind_rows(...)
    8.   │   └─rlang::list2(...)
    9.   ├─cardx::ard_total_n(data)
   10.   └─cardx:::ard_total_n.survey.design(data)
   11.     ├─dplyr::select(...)
   12.     ├─dplyr::mutate(...)
   13.     ├─cards::ard_tabulate_value(...)
   14.     └─cardx:::ard_tabulate_value.survey.design(...)
   15.       ├─dplyr::mutate(...)
   16.       ├─dplyr::filter(...)
   17.       ├─cards::ard_tabulate(...)
   18.       └─cardx:::ard_tabulate.survey.design(...)
   19.         ├─cards::tidy_ard_row_order(...)
   20.         │ └─dplyr::select(x, all_ard_groups(c("names", "levels")))
   21.         ├─cards::tidy_ard_column_order(...)
   22.         │ ├─dplyr::pull(...)
   23.         │ ├─dplyr::arrange(...)
   24.         │ ├─base::data.frame(colname = names(dplyr::select(x, all_ard_groups())))
   25.         │ └─dplyr::select(x, all_ard_groups())
   26.         ├─cards::as_card(...)
   27.         │ └─cards:::check_class(x, cls = "data.frame")
   28.         ├─dplyr::mutate(...)
   29.         └─cardx:::.restore_original_column_types(cards, data = data$variables)
   30.           └─cards::as_card(...)
   31.             └─cards::check_ard_structure(...)
   32.               └─cards:::.message_or_error(...)
   33.                 └─cli::cli_abort(msg, call = call, .envir = envir)
   34.                   └─rlang::abort(...)
  
  [ FAIL 1 | WARN 0 | SKIP 132 | PASS 1108 ]
  Error:
  ! Test failures.
  Execution halted