CRAN Package Check Results for Package crane

Last updated on 2026-01-17 11:49:46 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.0 6.86 330.49 337.35 OK
r-devel-linux-x86_64-debian-gcc 0.3.0 4.98 211.78 216.76 OK
r-devel-linux-x86_64-fedora-clang 0.3.0 10.00 517.63 527.63 ERROR
r-devel-linux-x86_64-fedora-gcc 0.3.0 12.00 533.32 545.32 ERROR
r-devel-windows-x86_64 0.3.0 8.00 189.00 197.00 OK
r-patched-linux-x86_64 0.3.0 6.34 315.55 321.89 OK
r-release-linux-x86_64 0.3.0 6.41 314.68 321.09 OK
r-release-macos-arm64 0.3.0 1.00 43.00 44.00 OK
r-release-macos-x86_64 0.3.0 4.00 210.00 214.00 OK
r-release-windows-x86_64 0.3.0 8.00 185.00 193.00 OK
r-oldrel-macos-arm64 0.3.0 1.00 46.00 47.00 OK
r-oldrel-macos-x86_64 0.3.0 5.00 250.00 255.00 OK
r-oldrel-windows-x86_64 0.3.0 11.00 268.00 279.00 OK

Check Details

Version: 0.3.0
Check: tests
Result: ERROR Running ‘testthat.R’ [384s/273s] 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 Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.3.0
Check: tests
Result: ERROR Running ‘testthat.R’ [388s/472s] 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-theme_gtsummary_roche.R:1:1', 'test-theme_gtsummary_roche.R:8:1', 'test-tbl_survfit_times.R:3:1', 'test-tbl_survfit_times.R:57:1', 'test-tbl_survfit_times.R:79: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 Flavor: r-devel-linux-x86_64-fedora-gcc