- using R Under development (unstable) (2025-12-07 r89119)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-9) 15.2.0
GNU Fortran (Debian 15.2.0-9) 15.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘CausalGPS/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘CausalGPS’ version ‘0.5.0’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/2s] OK
- 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 ‘CausalGPS’ can be installed ... OK
See the install log for details.
- used C++ compiler: ‘g++-15 (Debian 15.2.0-9) 15.2.0’
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... NOTE
Author field differs from that derived from Authors@R
Author: ‘Naeem Khoshnevis [aut, cre] (<https://orcid.org/0000-0003-4315-1426>, Kempner), Xiao Wu [aut] (<https://orcid.org/0000-0002-4884-657X>, CUMC), Danielle Braun [aut] (<https://orcid.org/0000-0002-5177-8598>, HSPH)’
Authors@R: ‘Naeem Khoshnevis [aut, cre] (ORCID: <https://orcid.org/0000-0003-4315-1426>, AFFILIATION: Kempner), Xiao Wu [aut] (ORCID: <https://orcid.org/0000-0002-4884-657X>, AFFILIATION: CUMC), Danielle Braun [aut] (ORCID: <https://orcid.org/0000-0002-5177-8598>, AFFILIATION: HSPH)’
- 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 ... [2s/3s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/3s] OK
- checking whether the package can be unloaded cleanly ... [2s/4s] OK
- checking whether the namespace can be loaded with stated dependencies ... [3s/3s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/3s] OK
- checking loading without being on the library search path ... [3s/3s] OK
- checking whether startup messages can be suppressed ... [2s/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 ... [13s/18s] OK
- checking Rd files ... [0s/1s] 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 ... [0s/0s] OK
- checking data for ASCII and uncompressed saves ... OK
- checking R/sysdata.rda ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [3s/3s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [9s/12s] ERROR
Running ‘testthat.R’ [9s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(CausalGPS)
>
> Sys.setenv("R_TESTS" = "")
> library(testthat)
> test_check("CausalGPS")
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Saving _problems/test-estimate_erf-22.R
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Saving _problems/test-estimate_gps-29.R
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Saving _problems/test-generate_pseudo_pop-35.R
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, :
argument "y" is missing, with no default
Saving _problems/test-trim_it-34.R
[ FAIL 4 | WARN 200 | SKIP 19 | PASS 68 ]
══ Skipped tests (19) ══════════════════════════════════════════════════════════
• On CRAN (17): 'test-CausalGPS_smooth.R:3:4', 'test-absolute_corr_fun.R:4:3',
'test-absolute_weighted_corr_fun.R:4:3', 'test-check_covar_balance.R:2:1',
'test-check_kolmogorov_smirnov.R:2:3', 'test-compile_pseudo_pop.R:3:3',
'test-compute_density.R:3:3', 'test-compute_minmax.R:3:3',
'test-compute_resid.R:3:3', 'test-create_weighting.R:3:3',
'test-estimate_gps.R:63:3', 'test-estimate_gps.R:92:3',
'test-estimate_hat_vals.R:3:3', 'test-matching_fn.R:3:3',
'test-set_logger.R:3:5', 'test-train_it.R:3:3', 'test-train_it.R:18:3'
• empty test (2): 'test-estimate_npmetric_erf.R:1:1',
'test-estimate_npmetric_erf.R:89:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-estimate_erf.R:19:3'): estimate erf works as expected ──────────
Error in `SuperLearner::SuperLearner(Y = target, X = data.frame(input), SL.library = sl_lib_internal)`: All algorithms dropped from library
Backtrace:
▆
1. └─CausalGPS::estimate_gps(...) at test-estimate_erf.R:19:3
2. └─CausalGPS:::train_it(...)
3. └─SuperLearner::SuperLearner(...)
── Error ('test-estimate_gps.R:26:3'): estimate_gps works as expected. ─────────
Error in `SuperLearner::SuperLearner(Y = target, X = data.frame(input), SL.library = sl_lib_internal)`: All algorithms dropped from library
Backtrace:
▆
1. └─CausalGPS::estimate_gps(...) at test-estimate_gps.R:26:3
2. └─CausalGPS:::train_it(...)
3. └─SuperLearner::SuperLearner(...)
── Error ('test-generate_pseudo_pop.R:31:3'): generate_pseudo_pop works as expected. ──
Error in `SuperLearner::SuperLearner(Y = target, X = data.frame(input), SL.library = sl_lib_internal)`: All algorithms dropped from library
Backtrace:
▆
1. └─CausalGPS::estimate_gps(...) at test-generate_pseudo_pop.R:31:3
2. └─CausalGPS:::train_it(...)
3. └─SuperLearner::SuperLearner(...)
── Error ('test-trim_it.R:31:3'): trim_it works as expected ────────────────────
Error in `SuperLearner::SuperLearner(Y = target, X = data.frame(input), SL.library = sl_lib_internal)`: All algorithms dropped from library
Backtrace:
▆
1. └─CausalGPS::estimate_gps(...) at test-trim_it.R:31:3
2. └─CausalGPS:::train_it(...)
3. └─SuperLearner::SuperLearner(...)
[ FAIL 4 | WARN 200 | SKIP 19 | PASS 68 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [11s/16s] OK
- checking PDF version of manual ... [5s/6s] OK
- checking HTML version of manual ... [2s/3s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE