- using R Under development (unstable) (2026-10-24 r90762 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-10-26 00:36:55 UTC
- checking for file 'psborrow/DESCRIPTION' ... OK
- this is package 'psborrow' version '0.2.4'
- 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 'psborrow' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking 'build' 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 ... [3s] OK
- checking whether the package can be loaded with stated dependencies ... [3s] OK
- checking whether the package can be unloaded cleanly ... [3s] OK
- checking whether the namespace can be loaded with stated dependencies ... [3s] OK
- checking whether the namespace can be unloaded cleanly ... [4s] OK
- checking loading without being on the library search path ... [3s] OK
- checking whether startup messages can be suppressed ... [3s] 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 ... [11s] OK
- checking Rd files ... [1s] 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 installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [7s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [243s] ERROR
Running 'testthat.R' [242s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(psborrow)
>
> test_check("psborrow")
Input all is found in pred. Any other input is disregarded.
Saving _problems/test-covariates-55.R
[ FAIL 1 | WARN 1 | SKIP 1 | PASS 138 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• !Sys.getenv("RUN_ALL_TESTS") == TRUE is TRUE (1): 'test-quiet.R:115:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-covariates.R:52:9'): Check that Covariate distributions are created correctly ──
Error in `as.matrix(Matrix::nearPD(res)$mat)`: lazy-load database 'D:/temp/2026_10_25_01_50_00_21025/RtmpQpTuBt/RLIBS_8db02dae5250/Matrix/R/Matrix.rdb' is corrupt
Backtrace:
▆
1. ├─base::suppressMessages(...) at test-covariates.R:45:5
2. │ └─base::withCallingHandlers(...)
3. └─psborrow:::as_vcov(...) at test-covariates.R:52:9
4. └─base::as.matrix(Matrix::nearPD(res)$mat) at ./helper-funs.R:8:5
[ FAIL 1 | WARN 1 | SKIP 1 | PASS 138 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [2s] OK
- checking PDF version of manual ... [20s] OK
- checking HTML version of manual ... [2s] OK
- DONE
Status: 1 ERROR