CRAN Package Check Results for Package halfmoon

Last updated on 2026-05-29 21:51:15 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.0 7.16 155.08 162.24 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.0 19.00 306.85 325.85 OK
r-devel-linux-x86_64-fedora-gcc 0.2.0 21.00 456.17 477.17 OK
r-devel-windows-x86_64 0.2.0 16.00 265.00 281.00 OK
r-patched-linux-x86_64 0.2.0 12.30 256.75 269.05 OK
r-release-linux-x86_64 0.2.0 10.39 252.77 263.16 OK
r-release-macos-arm64 0.2.0 2.00 59.00 61.00 OK
r-release-macos-x86_64 0.2.0 7.00 233.00 240.00 OK
r-release-windows-x86_64 0.2.0 13.00 261.00 274.00 OK
r-oldrel-macos-arm64 0.2.0 2.00 53.00 55.00 OK
r-oldrel-macos-x86_64 0.2.0 7.00 149.00 156.00 OK
r-oldrel-windows-x86_64 0.2.0 20.00 349.00 369.00 OK

Check Details

Version: 0.2.0
Check: examples
Result: ERROR Running examples in ‘halfmoon-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: add_ess_header > ### Title: Add ESS Table Header > ### Aliases: add_ess_header > > ### ** Examples > > ## Don't show: > if (rlang::is_installed(c("survey", "gtsummary", "cards", "cardx", "dplyr"))) withAutoprint({ # examplesIf + ## End(Don't show) + svy <- survey::svydesign(~1, data = nhefs_weights, weights = ~ w_ate) + + gtsummary::tbl_svysummary(svy, include = c(age, sex, smokeyrs)) |> + add_ess_header() + hdr <- paste0( + "**{level}** \n", + "N = {n_unweighted}; ESS = {format(n, digits = 1, nsmall = 1)}" + ) + gtsummary::tbl_svysummary(svy, by = qsmk, include = c(age, sex, smokeyrs)) |> + add_ess_header(header = hdr) + ## Don't show: + }) # examplesIf > svy <- survey::svydesign(~1, data = nhefs_weights, weights = ~w_ate) > add_ess_header(gtsummary::tbl_svysummary(svy, include = c(age, sex, smokeyrs))) Error in `gtsummary::tbl_svysummary()`: ! The following columns are not present: "warning" and "error". Backtrace: ▆ 1. ├─base::withAutoprint(...) 2. │ └─base::source(...) 3. │ ├─base::withVisible(eval(ei, envir)) 4. │ └─base::eval(ei, envir) 5. │ └─base::eval(ei, envir) 6. ├─halfmoon::add_ess_header(...) 7. └─gtsummary::tbl_svysummary(svy, include = c(age, sex, smokeyrs)) 8. ├─cards::replace_null_statistic(...) 9. │ └─cards:::check_class(x, "card") 10. ├─cards::bind_ard(...) 11. │ └─dplyr::bind_rows(...) 12. │ └─rlang::list2(...) 13. ├─cardx::ard_total_n(data) 14. └─cardx:::ard_total_n.survey.design(data) 15. ├─dplyr::select(...) 16. ├─dplyr::mutate(...) 17. ├─cards::ard_tabulate_value(...) 18. └─cardx:::ard_tabulate_value.survey.design(...) 19. ├─dplyr::mutate(...) 20. ├─dplyr::filter(...) 21. ├─cards::ard_tabulate(...) 22. └─cardx:::ard_tabulate.survey.design(...) 23. ├─cards::tidy_ard_row_order(...) 24. │ └─dplyr::select(x, all_ard_groups(c("names", "levels"))) 25. ├─cards::tidy_ard_column_order(...) 26. │ ├─dplyr::pull(...) 27. │ ├─dplyr::arrange(...) 28. │ ├─base::data.frame(colname = names(dplyr::select(x, all_ard_groups()))) 29. │ └─dplyr::select(x, all_ard_groups()) 30. ├─cards::as_card(...) 31. │ └─cards:::check_class(x, cls = "data.frame") 32. ├─dplyr::mutate(...) 33. └─cardx:::.restore_original_column_types(cards, data = data$variables) 34. └─cards::as_card(...) 35. └─cards::check_ard_structure(...) 36. └─cards:::.message_or_error(...) 37. └─cli::cli_abort(msg, call = call, .envir = envir) 38. └─rlang::abort(...) Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [136s/173s] 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 Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.2.0
Check: tests
Result: ERROR 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 Flavor: r-devel-linux-x86_64-debian-gcc