- 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:37:43 UTC
- checking for file 'pseval/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'pseval' version '1.3.3'
- 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 'pseval' 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 ... [0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s] OK
- checking whether the package can be unloaded cleanly ... [0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [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 ... [6s] 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 ... [2s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [77s] ERROR
Running 'simulation-study.R' [2s]
Running 'testthat.R' [75s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(pseval)
>
> test_check("pseval")
Augmented data frame: 200 obs. by 6 variables.
Z Y S.1 S.0 cdfweights BIP
1 1 0 2.24 NA 1 1.383
2 0 0 NA 0.171 1 0.126
3 0 0 NA 1.701 1 1.903
4 1 0 2.39 NA 1 1.508
5 0 1 NA -1.987 1 -1.827
6 0 0 NA 2.000 1 2.046
Empirical TE: 0.53
Mapped variables:
Z -> Z
Y -> Y.obs
S -> S.obs
BIP -> BIP
Integration models:
integration model for S.1 :
integrate_parametric(formula = S.1 ~ BIP )
Risk models:
risk_binary(D = 10 )
Estimated parameters:
(Intercept) S.1 Z S.1:Z
-0.8867 -0.1756 0.0174 -1.6228
Convergence: TRUE
Bootstrap replicates:
Estimate boot.se lower.CL.2.5. upper.CL.97.5. p.value
(Intercept) -0.8867 0.337 -1.611 -0.249 0.008416
S.1 -0.1756 0.225 -0.511 0.285 0.435727
Z 0.0174 0.492 -0.802 0.867 0.971757
S.1:Z -1.6228 0.489 -2.577 -0.932 0.000894
Out of 50 bootstraps, 50 converged ( 100 %)
Test for wide effect modification on 1 degree of freedom. 2-sided p value = 9e-04
Treatment Efficacy:
empirical marginal model
0.530 0.530 0.418
Model-based average TE is -21.0 % different from the empirical and -21.0 % different from the marginal.
Saving _problems/test-estimation-102.R
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 30 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-estimation.R:101:3'): Testing all combinations of integration and risk models ──
Error in `eval(substitute(Y), envir = data)`: lazy-load database 'D:/temp/2026_10_25_01_50_00_21025/RtmpG2HmaJ/RLIBS_13c383e951729/survival/R/survival.rdb' is corrupt
Backtrace:
▆
1. ├─testthat::expect_warning(...) at test-estimation.R:101:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─pseval::psdesign(...)
7. └─base::eval(substitute(Y), envir = data)
8. └─base::eval(substitute(Y), envir = data)
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 30 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [25s] OK
- checking PDF version of manual ... [20s] OK
- checking HTML version of manual ... [2s] OK
- DONE
Status: 1 ERROR