CRAN Package Check Results for Package polle

Last updated on 2025-12-04 09:50:02 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.6.0 13.20 634.86 648.06 OK
r-devel-linux-x86_64-debian-gcc 1.6.1 8.21 357.56 365.77 OK
r-devel-linux-x86_64-fedora-clang 1.6.1 120.00 827.83 947.83 ERROR
r-devel-linux-x86_64-fedora-gcc 1.6.1 104.00 820.62 924.62 ERROR
r-devel-windows-x86_64 1.6.1 16.00 450.00 466.00 OK
r-patched-linux-x86_64 1.6.1 13.56 527.04 540.60 OK
r-release-linux-x86_64 1.6.0 12.52 544.21 556.73 OK
r-release-macos-arm64 1.6.1 4.00 112.00 116.00 OK
r-release-macos-x86_64 1.6.1 14.00 510.00 524.00 OK
r-release-windows-x86_64 1.6.1 16.00 456.00 472.00 OK
r-oldrel-macos-arm64 1.6.1 4.00 113.00 117.00 OK
r-oldrel-macos-x86_64 1.6.1 16.00 525.00 541.00 OK
r-oldrel-windows-x86_64 1.6.1 23.00 624.00 647.00 OK

Check Details

Version: 1.6.1
Check: tests
Result: ERROR Running ‘test-all.R’ [9m/36m] Running the tests in ‘tests/test-all.R’ failed. Complete output: > suppressPackageStartupMessages(library("testthat")) > options(Ncpus = 2) > data.table::setDTthreads(2) > test_check("polle") Loading required package: polle Loading required package: SuperLearner Loading required package: nnls Loading required package: gam Loading required package: splines Loading required package: foreach Loaded gam 1.22-6 Super Learner Version: 2.0-29 Package created on 2024-02-06 Saving _problems/test-g_xgboost-10.R Saving _problems/test-g_xgboost-42.R Saving _problems/test-g_xgboost-71.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 Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Saving _problems/test-q_xgboost-32.R [ FAIL 4 | WARN 202 | SKIP 0 | PASS 935 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-g_xgboost.R:7:3'): g_xgboost gives the same result as plain xgboost ── <getvarError/missingArgError/error/condition> Error in `xgboost::xgboost(data = xgboost_data, max_depth = 2, eta = 1, nrounds = 2, objective = "binary:logistic", verbose = FALSE)`: argument "y" is missing, with no default Backtrace: ▆ 1. └─xgboost::xgboost(...) at test-g_xgboost.R:7:3 2. └─xgboost:::process.y.margin.and.objective(...) 3. └─base::NROW(y) ── Error ('test-g_xgboost.R:41:3'): g_xgboost gives the same result as SL.xgboost ── Error in `process.y.margin.and.objective(y, base_margin, objective, params)`: Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: binary:logistic Backtrace: ▆ 1. └─polle::fit_g_functions(...) at test-g_xgboost.R:41:3 2. └─polle:::fit_g_function(history, g_models) 3. └─polle (local) g_model(A = A, H = H, action_set = stage_action_set) 4. └─model$estimate(data) 5. └─private$fitfun(data, ...) 6. ├─base::structure(do.call(private$init.estimate, args), design = summary(xx)) 7. ├─base::do.call(private$init.estimate, args) 8. └─polle (local) `<fn>`(x = `<dbl>`, y = `<dbl>`) 9. └─xgboost::xgboost(...) 10. └─xgboost:::process.y.margin.and.objective(...) ── Error ('test-g_xgboost.R:70:3'): g_xgboost tunes parameters ───────────────── Error in `terms.formula(formula)`: '.' in formula and no 'data' argument Backtrace: ▆ 1. └─polle::fit_g_functions(...) at test-g_xgboost.R:70:3 2. └─polle:::fit_g_function(history, g_models) 3. └─polle (local) g_model(A = A, H = H, action_set = stage_action_set) 4. ├─stats::delete.response(terms(formula)) 5. ├─stats::terms(formula) 6. └─stats::terms.formula(formula) ── Error ('test-q_xgboost.R:28:3'): q_xgboost gives the same result as plain xgboost ── <getvarError/missingArgError/error/condition> Error in `xgboost::xgboost(data = xgboost_data, max_depth = 2, eta = 1, nrounds = 2, verbose = FALSE)`: argument "y" is missing, with no default Backtrace: ▆ 1. └─xgboost::xgboost(...) at test-q_xgboost.R:28:3 2. └─xgboost:::process.y.margin.and.objective(...) 3. └─base::NROW(y) [ FAIL 4 | WARN 202 | SKIP 0 | PASS 935 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.6.1
Check: tests
Result: ERROR Running ‘test-all.R’ [9m/22m] Running the tests in ‘tests/test-all.R’ failed. Complete output: > suppressPackageStartupMessages(library("testthat")) > options(Ncpus = 2) > data.table::setDTthreads(2) > test_check("polle") Loading required package: polle Loading required package: SuperLearner Loading required package: nnls Loading required package: gam Loading required package: splines Loading required package: foreach Loaded gam 1.22-6 Super Learner Version: 2.0-29 Package created on 2024-02-06 Saving _problems/test-g_xgboost-10.R Saving _problems/test-g_xgboost-42.R Saving _problems/test-g_xgboost-71.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 Error in xgboost::xgboost(data = xgmat, objective = objective, nrounds = ntrees, : argument "y" is missing, with no default Saving _problems/test-q_xgboost-32.R [ FAIL 4 | WARN 202 | SKIP 0 | PASS 935 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-g_xgboost.R:7:3'): g_xgboost gives the same result as plain xgboost ── <getvarError/missingArgError/error/condition> Error in `xgboost::xgboost(data = xgboost_data, max_depth = 2, eta = 1, nrounds = 2, objective = "binary:logistic", verbose = FALSE)`: argument "y" is missing, with no default Backtrace: ▆ 1. └─xgboost::xgboost(...) at test-g_xgboost.R:7:3 2. └─xgboost:::process.y.margin.and.objective(...) 3. └─base::NROW(y) ── Error ('test-g_xgboost.R:41:3'): g_xgboost gives the same result as SL.xgboost ── Error in `process.y.margin.and.objective(y, base_margin, objective, params)`: Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: binary:logistic Backtrace: ▆ 1. └─polle::fit_g_functions(...) at test-g_xgboost.R:41:3 2. └─polle:::fit_g_function(history, g_models) 3. └─polle (local) g_model(A = A, H = H, action_set = stage_action_set) 4. └─model$estimate(data) 5. └─private$fitfun(data, ...) 6. ├─base::structure(do.call(private$init.estimate, args), design = summary(xx)) 7. ├─base::do.call(private$init.estimate, args) 8. └─polle (local) `<fn>`(x = `<dbl[,3]>`, y = `<dbl>`) 9. └─xgboost::xgboost(...) 10. └─xgboost:::process.y.margin.and.objective(...) ── Error ('test-g_xgboost.R:70:3'): g_xgboost tunes parameters ───────────────── Error in `terms.formula(formula)`: '.' in formula and no 'data' argument Backtrace: ▆ 1. └─polle::fit_g_functions(...) at test-g_xgboost.R:70:3 2. └─polle:::fit_g_function(history, g_models) 3. └─polle (local) g_model(A = A, H = H, action_set = stage_action_set) 4. ├─stats::delete.response(terms(formula)) 5. ├─stats::terms(formula) 6. └─stats::terms.formula(formula) ── Error ('test-q_xgboost.R:28:3'): q_xgboost gives the same result as plain xgboost ── <getvarError/missingArgError/error/condition> Error in `xgboost::xgboost(data = xgboost_data, max_depth = 2, eta = 1, nrounds = 2, verbose = FALSE)`: argument "y" is missing, with no default Backtrace: ▆ 1. └─xgboost::xgboost(...) at test-q_xgboost.R:28:3 2. └─xgboost:::process.y.margin.and.objective(...) 3. └─base::NROW(y) [ FAIL 4 | WARN 202 | SKIP 0 | PASS 935 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc