- using R Under development (unstable) (2025-12-02 r89085)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 21.1.6
flang version 21.1.6
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘CRE/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘CRE’ version ‘0.2.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 ‘CRE’ can be installed ... [23s/62s] 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 ... [6s/15s] OK
- checking whether the package can be loaded with stated dependencies ... [5s/12s] OK
- checking whether the package can be unloaded cleanly ... [5s/13s] OK
- checking whether the namespace can be loaded with stated dependencies ... [5s/13s] OK
- checking whether the namespace can be unloaded cleanly ... [6s/15s] OK
- checking loading without being on the library search path ... [5s/13s] OK
- checking whether startup messages can be suppressed ... [6s/19s] 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 ... [36s/81s] 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [5s/15s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [9s/25s] ERROR
Running ‘testthat.R’ [8s/24s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(CRE)
>
> test_check("CRE")
Error in xgboost::xgboost(data = xgmat, objective = "binary:logistic", :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = "binary:logistic", :
argument "y" is missing, with no default
Saving _problems/test-estimate_cate-165.R
[ FAIL 1 | WARN 10 | SKIP 25 | PASS 4 ]
══ Skipped tests (25) ══════════════════════════════════════════════════════════
• On CRAN (25): 'test-check_input_data.R:3:3', 'test-cre.R:3:3',
'test-discover_rules.R:3:3', 'test-estimate_cate.R:3:3',
'test-estimate_ite.R:4:3', 'test-estimate_ite_aipw.R:3:3',
'test-estimate_ite_bart.R:4:3', 'test-estimate_ite_cf.R:4:3',
'test-estimate_ite_poisson.R:3:3', 'test-estimate_ite_slearner.R:3:3',
'test-estimate_ite_tlearner.R:3:3', 'test-estimate_ite_xlearner.R:3:3',
'test-estimate_ps.R:3:3', 'test-evaluate.R:3:3',
'test-extract_effect_modifiers.R:2:3', 'test-extract_rules.R:4:3',
'test-filter_correlated_rules.R:3:3', 'test-filter_extreme_rules.R:3:3',
'test-filter_irrelevant_rules.R:4:3', 'test-generate_cre_dataset.R:4:3',
'test-generate_rules.R:3:3', 'test-generate_rules_matrix.R:3:3',
'test-honest_splitting.R:3:3', 'test-interpret_rules.R:3:3',
'test-predict.R:3:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-estimate_cate.R:162:3'): CATE Estimation Runs Correctly (test 2/2) ──
Error in `SuperLearner::SuperLearner(Y = z, X = as.data.frame(X), newX = as.data.frame(X), family = binomial(), SL.library = ps_method, cvControl = list(V = 0))`: All algorithms dropped from library
Backtrace:
▆
1. └─CRE:::estimate_ite(...) at test-estimate_cate.R:162:3
2. └─CRE:::estimate_ite_aipw(y, z, X, learner_ps, learner_y)
3. └─CRE:::estimate_ps(z, X, learner_ps)
4. └─SuperLearner::SuperLearner(...)
[ FAIL 1 | WARN 10 | SKIP 25 | PASS 4 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [9s/16s] OK
- checking PDF version of manual ... [9s/28s] OK
- checking HTML version of manual ... [5s/15s] OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR