CRAN Package Check Results for Maintainer ‘Andreas Nordland <andreasnordland at gmail.com>’

Last updated on 2025-12-04 07:51:29 CET.

Package ERROR OK
polle 2 11

Package polle

Current CRAN status: ERROR: 2, OK: 11

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.