- using R Under development (unstable) (2025-09-18 r88857)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 21.1.1
flang version 21.1.1
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘SimNPH/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘SimNPH’ version ‘0.5.7’
- 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 ‘SimNPH’ can be installed ... [21s/57s] 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 ... [5s/12s] OK
- checking whether the package can be loaded with stated dependencies ... [4s/12s] OK
- checking whether the package can be unloaded cleanly ... [4s/14s] OK
- checking whether the namespace can be loaded with stated dependencies ... [4s/12s] OK
- checking whether the namespace can be unloaded cleanly ... [5s/15s] 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 ... [32s/86s] 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [11s/29s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [109s/261s] ERROR
Running ‘testthat.R’ [109s/259s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(SimNPH)
Loading required package: SimDesign
Loading required package: survival
>
> test_check("SimNPH")
[ FAIL 1 | WARN 7 | SKIP 0 | PASS 411 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-summarise.R:139:3'): creating a summarise function for an estimator works ──
Names of `sim_results` ('AHR_15', 'AHRoc_15', 'AHRoc_robust_15', 'COMPLETED', 'REPLICATIONS', 'SEED', 'SIM_TIME', 'coxph.1.N', 'coxph.1.N_missing', 'coxph.1.N_missing_CI', 'coxph.1.N_missing_lower', 'coxph.1.N_missing_n_evt', 'coxph.1.N_missing_n_pat', 'coxph.1.N_missing_sd', 'coxph.1.N_missing_upper', 'coxph.1.bias', 'coxph.1.cover_lower', 'coxph.1.cover_upper', 'coxph.1.coverage', 'coxph.1.mae', 'coxph.1.mean_est', 'coxph.1.mean_n_evt', 'coxph.1.mean_n_pat', 'coxph.1.mean_sd', 'coxph.1.median_est', 'coxph.1.mse', 'coxph.1.null_cover', 'coxph.1.null_lower', 'coxph.1.null_upper', 'coxph.1.sd_bias', 'coxph.1.sd_est', 'coxph.1.sd_mae', 'coxph.1.sd_mse', 'coxph.1.sd_n_evt', 'coxph.1.sd_n_pat', 'coxph.1.sd_sd', 'coxph.1.sd_width', 'coxph.1.width', 'coxph.N', 'coxph.N_missing', 'coxph.N_missing_CI', 'coxph.N_missing_lower', 'coxph.N_missing_n_evt', 'coxph.N_missing_n_pat', 'coxph.N_missing_sd', 'coxph.N_missing_upper', 'coxph.bias', 'coxph.cover_lower', 'coxph.cover_upper', 'coxph.coverage', 'coxph.gAHR.N', 'coxph.gAHR.N_missing', 'coxph.gAHR.N_missing_CI', 'coxph.gAHR.N_missing_lower', 'coxph.gAHR.N_missing_n_evt', 'coxph.gAHR.N_missing_n_pat', 'coxph.gAHR.N_missing_sd', 'coxph.gAHR.N_missing_upper', 'coxph.gAHR.bias', 'coxph.gAHR.cover_lower', 'coxph.gAHR.cover_upper', 'coxph.gAHR.coverage', 'coxph.gAHR.mae', 'coxph.gAHR.mean_est', 'coxph.gAHR.mean_n_evt', 'coxph.gAHR.mean_n_pat', 'coxph.gAHR.mean_sd', 'coxph.gAHR.median_est', 'coxph.gAHR.mse', 'coxph.gAHR.null_cover', 'coxph.gAHR.null_lower', 'coxph.gAHR.null_upper', 'coxph.gAHR.sd_bias', 'coxph.gAHR.sd_est', 'coxph.gAHR.sd_mae', 'coxph.gAHR.sd_mse', 'coxph.gAHR.sd_n_evt', 'coxph.gAHR.sd_n_pat', 'coxph.gAHR.sd_sd', 'coxph.gAHR.sd_width', 'coxph.gAHR.width', 'coxph.hr.N', 'coxph.hr.N_missing', 'coxph.hr.N_missing_CI', 'coxph.hr.N_missing_lower', 'coxph.hr.N_missing_n_evt', 'coxph.hr.N_missing_n_pat', 'coxph.hr.N_missing_sd', 'coxph.hr.N_missing_upper', 'coxph.hr.bias', 'coxph.hr.cover_lower', 'coxph.hr.cover_upper', 'coxph.hr.coverage', 'coxph.hr.mae', 'coxph.hr.mean_est', 'coxph.hr.mean_n_evt', 'coxph.hr.mean_n_pat', 'coxph.hr.mean_sd', 'coxph.hr.median_est', 'coxph.hr.mse', 'coxph.hr.null_cover', 'coxph.hr.null_lower', 'coxph.hr.null_upper', 'coxph.hr.sd_bias', 'coxph.hr.sd_est', 'coxph.hr.sd_mae', 'coxph.hr.sd_mse', 'coxph.hr.sd_n_evt', 'coxph.hr.sd_n_pat', 'coxph.hr.sd_sd', 'coxph.hr.sd_width', 'coxph.hr.width', 'coxph.mae', 'coxph.mean_est', 'coxph.mean_n_evt', 'coxph.mean_n_pat', 'coxph.mean_sd', 'coxph.median_est', 'coxph.mse', 'coxph.null_cover', 'coxph.null_lower', 'coxph.null_upper', 'coxph.sd_bias', 'coxph.sd_est', 'coxph.sd_mae', 'coxph.sd_mse', 'coxph.sd_n_evt', 'coxph.sd_n_pat', 'coxph.sd_sd', 'coxph.sd_width', 'coxph.width', 'delay', 'followup', 'gAHR_15', 'hazard_ctrl', 'hazard_trt', 'median_survival_ctrl', 'median_survival_trt', 'n_ctrl', 'n_trt', 'random_withdrawal', 'recruitment', 'rmst_ctrl_15', 'rmst_trt_15') don't match 'AHR_15', 'AHRoc_15', 'AHRoc_robust_15', 'COMPLETED', 'RAM_USED', 'REPLICATIONS', 'SEED', 'SIM_TIME', 'coxph.1.N', 'coxph.1.N_missing', 'coxph.1.N_missing_CI', 'coxph.1.N_missing_lower', 'coxph.1.N_missing_n_evt', 'coxph.1.N_missing_n_pat', 'coxph.1.N_missing_sd', 'coxph.1.N_missing_upper', 'coxph.1.bias', 'coxph.1.cover_lower', 'coxph.1.cover_upper', 'coxph.1.coverage', 'coxph.1.mae', 'coxph.1.mean_est', 'coxph.1.mean_n_evt', 'coxph.1.mean_n_pat', 'coxph.1.mean_sd', 'coxph.1.median_est', 'coxph.1.mse', 'coxph.1.null_cover', 'coxph.1.null_lower', 'coxph.1.null_upper', 'coxph.1.sd_bias', 'coxph.1.sd_est', 'coxph.1.sd_mae', 'coxph.1.sd_mse', 'coxph.1.sd_n_evt', 'coxph.1.sd_n_pat', 'coxph.1.sd_sd', 'coxph.1.sd_width', 'coxph.1.width', 'coxph.N', 'coxph.N_missing', 'coxph.N_missing_CI', 'coxph.N_missing_lower', 'coxph.N_missing_n_evt', 'coxph.N_missing_n_pat', 'coxph.N_missing_sd', 'coxph.N_missing_upper', 'coxph.bias', 'coxph.cover_lower', 'coxph.cover_upper', 'coxph.coverage', 'coxph.gAHR.N', 'coxph.gAHR.N_missing', 'coxph.gAHR.N_missing_CI', 'coxph.gAHR.N_missing_lower', 'coxph.gAHR.N_missing_n_evt', 'coxph.gAHR.N_missing_n_pat', 'coxph.gAHR.N_missing_sd', 'coxph.gAHR.N_missing_upper', 'coxph.gAHR.bias', 'coxph.gAHR.cover_lower', 'coxph.gAHR.cover_upper', 'coxph.gAHR.coverage', 'coxph.gAHR.mae', 'coxph.gAHR.mean_est', 'coxph.gAHR.mean_n_evt', 'coxph.gAHR.mean_n_pat', 'coxph.gAHR.mean_sd', 'coxph.gAHR.median_est', 'coxph.gAHR.mse', 'coxph.gAHR.null_cover', 'coxph.gAHR.null_lower', 'coxph.gAHR.null_upper', 'coxph.gAHR.sd_bias', 'coxph.gAHR.sd_est', 'coxph.gAHR.sd_mae', 'coxph.gAHR.sd_mse', 'coxph.gAHR.sd_n_evt', 'coxph.gAHR.sd_n_pat', 'coxph.gAHR.sd_sd', 'coxph.gAHR.sd_width', 'coxph.gAHR.width', 'coxph.hr.N', 'coxph.hr.N_missing', 'coxph.hr.N_missing_CI', 'coxph.hr.N_missing_lower', 'coxph.hr.N_missing_n_evt', 'coxph.hr.N_missing_n_pat', 'coxph.hr.N_missing_sd', 'coxph.hr.N_missing_upper', 'coxph.hr.bias', 'coxph.hr.cover_lower', 'coxph.hr.cover_upper', 'coxph.hr.coverage', 'coxph.hr.mae', 'coxph.hr.mean_est', 'coxph.hr.mean_n_evt', 'coxph.hr.mean_n_pat', 'coxph.hr.mean_sd', 'coxph.hr.median_est', 'coxph.hr.mse', 'coxph.hr.null_cover', 'coxph.hr.null_lower', 'coxph.hr.null_upper', 'coxph.hr.sd_bias', 'coxph.hr.sd_est', 'coxph.hr.sd_mae', 'coxph.hr.sd_mse', 'coxph.hr.sd_n_evt', 'coxph.hr.sd_n_pat', 'coxph.hr.sd_sd', 'coxph.hr.sd_width', 'coxph.hr.width', 'coxph.mae', 'coxph.mean_est', 'coxph.mean_n_evt', 'coxph.mean_n_pat', 'coxph.mean_sd', 'coxph.median_est', 'coxph.mse', 'coxph.null_cover', 'coxph.null_lower', 'coxph.null_upper', 'coxph.sd_bias', 'coxph.sd_est', 'coxph.sd_mae', 'coxph.sd_mse', 'coxph.sd_n_evt', 'coxph.sd_n_pat', 'coxph.sd_sd', 'coxph.sd_width', 'coxph.width', 'delay', 'followup', 'gAHR_15', 'hazard_ctrl', 'hazard_trt', 'median_survival_ctrl', 'median_survival_trt', 'n_ctrl', 'n_trt', 'random_withdrawal', 'recruitment', 'rmst_ctrl_15', 'rmst_trt_15'
[ FAIL 1 | WARN 7 | SKIP 0 | PASS 411 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... OK
- checking PDF version of manual ... [9s/26s] OK
- checking HTML version of manual ... [3s/11s] OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR