- using R Under development (unstable) (2026-08-27 r90452 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.3.0
GNU Fortran (GCC) 14.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
* current time: 2026-08-29 23:37:17 UTC
- checking for file 'contingencytables/DESCRIPTION' ... OK
- this is package 'contingencytables' version '3.1.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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'contingencytables' can be installed ... 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 ... [1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s] OK
- checking loading without being on the library search path ... [1s] OK
- checking whether startup messages can be suppressed ... [0s] 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 ... [25s] OK
- checking Rd files ... [3s] OK
- checking Rd metadata ... 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 ... [35s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [60s] ERROR
Running 'testthat.R' [59s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> testthat::test_check("contingencytables")
Loading required package: contingencytables
Welcome to contingencytables 3.1.0.
Please run ?chapX or list_functions(x) to see the functions related to chapter X.
Saving _problems/test-outputFormat-47.R
[ FAIL 3 | WARN 5 | SKIP 0 | PASS 524 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-ch6.R:9:3'): Chapter 6 functions basically work ────────────────
Error in `Cumulative_models_for_2xc(lydersen_2012a)`: lazy-load database 'D:/temp/2026_08_29_12_49_20_25903/Rtmp8Kj36e/RLIBS_24405b0a6297/MASS/R/MASS.rdb' is corrupt
Backtrace:
▆
1. ├─testthat::expect_output(...) at test-ch6.R:9:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─testthat::capture_output_lines(code, print, width = width)
5. │ │ └─testthat:::eval_with_output(code, print = print, width = width)
6. │ │ ├─withr::with_output_sink(path, withVisible(code))
7. │ │ │ └─base::force(code)
8. │ │ └─base::withVisible(code)
9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. ├─base::print(Cumulative_models_for_2xc(lydersen_2012a))
11. └─contingencytables::Cumulative_models_for_2xc(lydersen_2012a)
── Error ('test-ch7.R:10:3'): Chapter 7 functions basically work ───────────────
Error in `Cumulative_models_for_rxc(n2)`: lazy-load database 'D:/temp/2026_08_29_12_49_20_25903/Rtmp8Kj36e/RLIBS_24405b0a6297/MASS/R/MASS.rdb' is corrupt
Backtrace:
▆
1. ├─testthat::expect_output(...) at test-ch7.R:10:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─testthat::capture_output_lines(code, print, width = width)
5. │ │ └─testthat:::eval_with_output(code, print = print, width = width)
6. │ │ ├─withr::with_output_sink(path, withVisible(code))
7. │ │ │ └─base::force(code)
8. │ │ └─base::withVisible(code)
9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
10. ├─base::print(Cumulative_models_for_rxc(n2))
11. └─contingencytables::Cumulative_models_for_rxc(n2)
── Error ('test-outputFormat.R:47:1'): (code run outside of `test_that()`) ─────
Error in `Cumulative_models_for_2xc(n3)`: lazy-load database 'D:/temp/2026_08_29_12_49_20_25903/Rtmp8Kj36e/RLIBS_24405b0a6297/MASS/R/MASS.rdb' is corrupt
Backtrace:
▆
1. └─contingencytables::Cumulative_models_for_2xc(n3) at test-outputFormat.R:47:1
[ FAIL 3 | WARN 5 | SKIP 0 | PASS 524 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [26s] OK
- checking HTML version of manual ... [9s] OK
- DONE
Status: 1 ERROR