- using R version 4.5.2 (2025-10-31)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.3.0-10) 14.3.0
GNU Fortran (Debian 14.3.0-10) 14.3.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- 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 ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] 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 ... [12s/15s] OK
- checking Rd files ... [0s/1s] 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 ... [34s/42s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
add_blank_rows 5.994 0.188 8.182
tbl_survfit_quantiles 6.060 0.090 7.293
tbl_listing 4.888 0.042 7.075
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [211s/110s] ERROR
Running ‘testthat.R’ [210s/110s]
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()` (`?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_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_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_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 ... [5s/7s] OK
- checking HTML version of manual ... [1s/2s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR