- using R version 4.4.3 (2025-02-28 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.3.0
GNU Fortran (GCC) 13.3.0
- running under: Windows Server 2022 x64 (build 20348)
- 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 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 'CausalGPS' can be installed ... OK
See the install log for details.
- used C++ compiler: 'g++.exe (GCC) 13.3.0'
- 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 ... [4s] OK
- checking whether the package can be loaded with stated dependencies ... [3s] OK
- checking whether the package can be unloaded cleanly ... [4s] OK
- checking whether the namespace can be loaded with stated dependencies ... [4s] OK
- checking whether the namespace can be unloaded cleanly ... [5s] OK
- checking loading without being on the library search path ... [5s] OK
- checking whether startup messages can be suppressed ... [4s] 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] 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 contents of 'data' directory ... OK
- checking data for non-ASCII characters ... [1s] 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 pragmas in C/C++ headers and code ... OK
- checking compiled code ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [8s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [15s] ERROR
Running 'testthat.R' [14s]
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 ... [19s] OK
- checking PDF version of manual ... [19s] OK
- checking HTML version of manual ... [9s] OK
- DONE
Status: 1 ERROR