- using R Under development (unstable) (2025-12-05 r89105)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 21.1.6
flang version 21.1.6
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘crane/DESCRIPTION’ ... OK
- this is package ‘crane’ version ‘0.2.0’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘crane’ can be installed ... [12s/24s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [17s/18s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking examples ... [49s/50s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [242s/125s] ERROR
Running ‘testthat.R’ [241s/124s]
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.
> test-tbl_baseline_chg.R: The number rows in the tables to be merged do not match, which may result in rows appearing out of order.
> test-tbl_baseline_chg.R: i See `tbl_merge()` (`
> test-tbl_baseline_chg.R: ?gtsummary::tbl_merge()`) help file for details. Use `quiet=TRUE` to silence message.
> test-tbl_shift.R: i Converting column "ATOXGRH" to a factor.
> test-tbl_baseline_chg.R: The number rows in the tables to be merged do not match, which may result in rows appearing out of order.
> test-tbl_baseline_chg.R: i See `tbl_merge()` (`?gtsummary::tbl_merge()`) help file for details. Use `quiet=TRUE` to silence message.
Saving _problems/test-tbl_baseline_chg-22.R
Saving _problems/test-tbl_baseline_chg-36.R
Saving _problems/test-tbl_baseline_chg-53.R
[ FAIL 3 | WARN 0 | SKIP 37 | PASS 60 ]
══ Skipped tests (37) ══════════════════════════════════════════════════════════
• On CRAN (37): 'test-add_hierarchical_count_row.R:1:1',
'test-add_hierarchical_count_row.R:37:1', 'test-add_blank_rows.R:73:1',
'test-add_blank_rows.R:99: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:21:1',
'test-tbl_listing.R:40:1', 'test-tbl_listing.R:51:1',
'test-tbl_listing.R:66:1', 'test-tbl_listing.R:79:1',
'test-tbl_roche_summary.R:14:1', 'test-tbl_baseline_chg.R:12:1',
'test-tbl_baseline_chg.R:26:1', 'test-tbl_baseline_chg.R:40:1',
'test-tbl_baseline_chg.R:57:1', 'test-tbl_baseline_chg.R:88:1',
'test-tbl_baseline_chg.R:139:1', 'test-tbl_baseline_chg.R:154:1',
'test-tbl_shift.R:14:1', 'test-tbl_shift.R:44:1', 'test-tbl_shift.R:63:1',
'test-tbl_shift.R:80:1', 'test-tbl_shift.R:115:1', 'test-tbl_shift.R:150:1',
'test-tbl_survfit_times.R:3:1', 'test-tbl_survfit_times.R:57:1',
'test-tbl_survfit_times.R:79: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-theme_gtsummary_roche.R:1:1',
'test-theme_gtsummary_roche.R:8:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-tbl_baseline_chg.R:14:3'): tbl_baseline_chg() works ──────────
Expected `... <- NULL` to run silently.
Actual noise: messages.
── Failure ('test-tbl_baseline_chg.R:29:3'): tbl_baseline_chg() works with no `by` variable ──
Expected `... <- NULL` to run silently.
Actual noise: messages.
── Failure ('test-tbl_baseline_chg.R:44:3'): add_overall.tbl_baseline_chg() works ──
Expected `... <- NULL` to run silently.
Actual noise: messages.
[ FAIL 3 | WARN 0 | SKIP 37 | PASS 60 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR