Last updated on 2025-12-05 04:50:24 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.0.6 | 6.98 | 184.89 | 191.87 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.0.6 | 3.78 | 147.88 | 151.66 | OK | |
| r-devel-linux-x86_64-fedora-clang | 0.0.6 | 39.00 | 197.41 | 236.41 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 0.0.7 | 106.77 | OK | |||
| r-devel-windows-x86_64 | 0.0.6 | 8.00 | 344.00 | 352.00 | OK | |
| r-patched-linux-x86_64 | 0.0.6 | 6.60 | 235.30 | 241.90 | OK | |
| r-release-linux-x86_64 | 0.0.6 | 5.67 | 236.62 | 242.29 | OK | |
| r-release-macos-arm64 | 0.0.7 | 1.00 | 76.00 | 77.00 | OK | |
| r-release-macos-x86_64 | 0.0.7 | 7.00 | 277.00 | 284.00 | OK | |
| r-release-windows-x86_64 | 0.0.6 | 8.00 | 351.00 | 359.00 | OK | |
| r-oldrel-macos-arm64 | 0.0.7 | 1.00 | 86.00 | 87.00 | OK | |
| r-oldrel-macos-x86_64 | 0.0.7 | 8.00 | 285.00 | 293.00 | OK | |
| r-oldrel-windows-x86_64 | 0.0.7 | 9.00 | 335.00 | 344.00 | OK |
Version: 0.0.6
Check: tests
Result: ERROR
Running ‘testthat.R’ [2m/19m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> Sys.setenv("OMP_THREAD_LIMIT" = 2)
> Sys.setenv("Ncpu" = 2)
>
> library(testthat)
> library(mlsurvlrnrs)
>
> test_check("mlsurvlrnrs")
CV fold: Fold1
Parameter 'ncores' is ignored for learner 'LearnerSurvCoxPHCox'.
CV fold: Fold2
Parameter 'ncores' is ignored for learner 'LearnerSurvCoxPHCox'.
CV fold: Fold3
Parameter 'ncores' is ignored for learner 'LearnerSurvCoxPHCox'.
CV fold: Fold1
Registering parallel backend using 2 cores.
Running initial scoring function 6 times in 2 thread(s)... 31.747 seconds
Starting Epoch 1
1) Fitting Gaussian Process...
2) Running local optimum search... 5.931 seconds
3) Running FUN 2 times in 2 thread(s)... 4.866 seconds
CV fold: Fold2
Registering parallel backend using 2 cores.
Running initial scoring function 6 times in 2 thread(s)... 32.83 seconds
Starting Epoch 1
1) Fitting Gaussian Process...
2) Running local optimum search... 6.473 seconds
3) Running FUN 2 times in 2 thread(s)... 5.452 seconds
CV fold: Fold3
Registering parallel backend using 2 cores.
Running initial scoring function 6 times in 2 thread(s)... 28.455 seconds
Starting Epoch 1
1) Fitting Gaussian Process...
2) Running local optimum search... 3.618 seconds
3) Running FUN 2 times in 2 thread(s)... 4.667 seconds
CV fold: Fold1
Number of rows of initialization grid > than 'options("mlexperiments.bayesian.max_init")'...
... reducing initialization grid to 10 rows.
Registering parallel backend using 2 cores.
Running initial scoring function 10 times in 2 thread(s)... 25.285 seconds
Starting Epoch 1
1) Fitting Gaussian Process...
- Could not obtain meaningful lengthscales.
2) Running local optimum search...
- Convergence Not Found. Trying again with tighter parameters...
- Convergence Not Found. Trying again with tighter parameters...
- Convergence Not Found. Trying again with tighter parameters...
- Maximum convergence attempts exceeded - process is probably sampling random points. 333.15 seconds
3) Running FUN 2 times in 2 thread(s)... 1.685 seconds
CV fold: Fold2
Number of rows of initialization grid > than 'options("mlexperiments.bayesian.max_init")'...
... reducing initialization grid to 10 rows.
Registering parallel backend using 2 cores.
Running initial scoring function 10 times in 2 thread(s)... 25.991 seconds
Starting Epoch 1
1) Fitting Gaussian Process...
2) Running local optimum search... 105.169 seconds
3) Running FUN 2 times in 2 thread(s)... 2.106 seconds
CV fold: Fold3
Number of rows of initialization grid > than 'options("mlexperiments.bayesian.max_init")'...
... reducing initialization grid to 10 rows.
Registering parallel backend using 2 cores.
Running initial scoring function 10 times in 2 thread(s)... 25.851 seconds
Starting Epoch 1
1) Fitting Gaussian Process...
2) Running local optimum search... 15.689 seconds
3) Running FUN 2 times in 2 thread(s)... 1.552 seconds
CV fold: Fold1
Number of rows of initialization grid > than 'options("mlexperiments.bayesian.max_init")'...
... reducing initialization grid to 10 rows.
Registering parallel backend using 2 cores.
Running initial scoring function 10 times in 2 thread(s)... 26.202 seconds
Starting Epoch 1
1) Fitting Gaussian Process...
2) Running local optimum search... 4.203 seconds
3) Running FUN 2 times in 2 thread(s)... 1.431 seconds
CV fold: Fold2
Number of rows of initialization grid > than 'options("mlexperiments.bayesian.max_init")'...
... reducing initialization grid to 10 rows.
Registering parallel backend using 2 cores.
Running initial scoring function 10 times in 2 thread(s)... 23.079 seconds
Starting Epoch 1
1) Fitting Gaussian Process...
2) Running local optimum search... 2.647 seconds
3) Running FUN 2 times in 2 thread(s)... 3.088 seconds
CV fold: Fold3
Number of rows of initialization grid > than 'options("mlexperiments.bayesian.max_init")'...
... reducing initialization grid to 10 rows.
Registering parallel backend using 2 cores.
Running initial scoring function 10 times in 2 thread(s)... 25.149 seconds
Starting Epoch 1
1) Fitting Gaussian Process...
2) Running local optimum search... 3.263 seconds
3) Running FUN 2 times in 2 thread(s)... 2.259 seconds
CV fold: Fold1
Number of rows of initialization grid > than 'options("mlexperiments.bayesian.max_init")'...
... reducing initialization grid to 10 rows.
Registering parallel backend using 2 cores.
Running initial scoring function 10 times in 2 thread(s)... 27.524 seconds
Starting Epoch 1
1) Fitting Gaussian Process...
Saving _problems/test-surv_xgboost_aft-116.R
CV fold: Fold1
Number of rows of initialization grid > than 'options("mlexperiments.bayesian.max_init")'...
... reducing initialization grid to 10 rows.
Registering parallel backend using 2 cores.
Running initial scoring function 10 times in 2 thread(s)... 25.318 seconds
Starting Epoch 1
1) Fitting Gaussian Process...
2) Running local optimum search...
- Convergence Not Found. Trying again with tighter parameters... 13.762 seconds
3) Running FUN 2 times in 2 thread(s)... 1.563 seconds
CV fold: Fold2
Number of rows of initialization grid > than 'options("mlexperiments.bayesian.max_init")'...
... reducing initialization grid to 10 rows.
Registering parallel backend using 2 cores.
Running initial scoring function 10 times in 2 thread(s)... 23.778 seconds
Starting Epoch 1
1) Fitting Gaussian Process...
2) Running local optimum search... 72.191 seconds
3) Running FUN 2 times in 2 thread(s)... 1.461 seconds
CV fold: Fold3
Number of rows of initialization grid > than 'options("mlexperiments.bayesian.max_init")'...
... reducing initialization grid to 10 rows.
Registering parallel backend using 2 cores.
Running initial scoring function 10 times in 2 thread(s)... 19.202 seconds
Starting Epoch 1
1) Fitting Gaussian Process...
2) Running local optimum search... 39.712 seconds
3) Running FUN 2 times in 2 thread(s)... 1.622 seconds
[ FAIL 1 | WARN 0 | SKIP 1 | PASS 14 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-lints.R:10:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-surv_xgboost_aft.R:116:5'): test nested cv, bayesian - surv_xgboost_aft ──
Error in `if (r == 0) stop("Results from FUN have 0 variance, cannot build GP.")`: missing value where TRUE/FALSE needed
Backtrace:
▆
1. └─surv_xgboost_aft_optimizer$execute() at test-surv_xgboost_aft.R:116:5
2. └─mlexperiments:::.run_cv(self = self, private = private)
3. └─mlexperiments:::.fold_looper(self, private)
4. ├─base::do.call(private$cv_run_model, run_args)
5. └─mlexperiments (local) `<fn>`(train_index = `<int>`, fold_train = `<named list>`, fold_test = `<named list>`)
6. ├─base::do.call(.cv_run_nested_model, args)
7. └─mlexperiments (local) `<fn>`(...)
8. └─hparam_tuner$execute(k = self$k_tuning)
9. └─mlexperiments:::.run_tuning(self = self, private = private, optimizer = optimizer)
10. └─mlexperiments:::.run_optimizer(...)
11. └─optimizer$execute(x = private$x, y = private$y, method_helper = private$method_helper)
12. ├─base::do.call(...)
13. └─mlexperiments (local) `<fn>`(...)
14. ├─base::do.call(ParBayesianOptimization::bayesOpt, args)
15. └─ParBayesianOptimization (local) `<fn>`(...)
16. └─ParBayesianOptimization::addIterations(...)
17. └─ParBayesianOptimization::updateGP(...)
18. └─ParBayesianOptimization:::zeroOneScale(scoreSummary$Score)
[ FAIL 1 | WARN 0 | SKIP 1 | PASS 14 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang