CRAN Package Check Results for Package recforest

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

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 10.91 248.59 259.50 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.0 6.82 162.59 169.41 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.0 51.00 395.08 446.08 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.0 22.00 399.19 421.19 ERROR
r-devel-windows-x86_64 1.0.0 11.00 250.00 261.00 ERROR
r-patched-linux-x86_64 1.0.0 10.65 234.12 244.77 ERROR
r-release-linux-x86_64 1.0.0 10.57 235.21 245.78 ERROR
r-release-macos-arm64 1.0.0 OK
r-release-macos-x86_64 1.0.0 11.00 211.00 222.00 OK
r-release-windows-x86_64 1.0.0 11.00 241.00 252.00 OK
r-oldrel-macos-arm64 1.0.0 OK
r-oldrel-macos-x86_64 1.0.0 10.00 166.00 176.00 OK
r-oldrel-windows-x86_64 1.0.0 18.00 311.00 329.00 ERROR

Check Details

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [139s/175s] 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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(recforest) > > test_check("recforest") since n_bootstrap is not provided, it is set to 2/3 of the sample size: 269 Using sequential processing for training training tree 1/2 [1] "creating terminal node #1" training tree 2/2 [1] "creating terminal node #1" Saving _problems/test-train_forest-300.R Saving _problems/test-train_forest-315.R Saving _problems/test-train_forest-337.R since n_bootstrap is not provided, it is set to 2/3 of the sample size: 269 [ FAIL 3 | WARN 0 | SKIP 1 | PASS 61 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-golden_master.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-train_forest.R:285:5'): train_forest and predict_forest works with method GL ── Expected `trained_forest$metrics` to equal `structure(...)`. Differences: actual vs expected c_index mse_imse mse_iscore - actual[1, ] 0.7843743 18517.19 376.8388 + expected[1, ] 0.7852244 18519.40 374.6235 `actual$c_index`: 0.78437 `expected$c_index`: 0.78522 `actual$mse_imse`: 18517.2 `expected$mse_imse`: 18519.4 `actual$mse_iscore`: 376.8 `expected$mse_iscore`: 374.6 Backtrace: ▆ 1. ├─withr::with_seed(...) at test-train_forest.R:251:3 2. │ └─withr::with_preserve_seed(...) 3. └─testthat::expect_equal(...) at test-train_forest.R:285:5 ── Failure ('test-train_forest.R:301:5'): train_forest and predict_forest works with method GL ── Expected `trained_forest$tree_metrics` to equal `list(...)`. Differences: `actual[[1]]$c_index`: 0.794279 `expected[[1]]$c_index`: 0.794180 `actual[[1]]$mse_imse`: 18613.5 `expected[[1]]$mse_imse`: 18618.2 `actual[[1]]$mse_iscore`: 280.6 `expected[[1]]$mse_iscore`: 275.9 `actual[[2]]$c_index`: 0.7745 `expected[[2]]$c_index`: 0.7763 `actual[[2]]$mse_imse`: 18420.88 `expected[[2]]$mse_imse`: 18420.66 `actual[[2]]$mse_iscore`: 473.11 `expected[[2]]$mse_iscore`: 473.34 Backtrace: ▆ 1. ├─withr::with_seed(...) at test-train_forest.R:251:3 2. │ └─withr::with_preserve_seed(...) 3. └─testthat::expect_equal(...) at test-train_forest.R:301:5 ── Failure ('test-train_forest.R:323:5'): train_forest and predict_forest works with method GL ── Expected `predictions[1:10]` to equal `c(...)`. Differences: actual | expected [1] 0.076394850 | 0.076394850 [1] [2] 0.671167690 - 0.670711027 [2] [3] 1.097814648 - 1.094352976 [3] [4] 0.697723088 - 0.697103214 [4] [5] 1.142139822 - 1.138279300 [5] [6] 0.047180539 | 0.047180539 [6] [7] 0.936614157 - 0.934632879 [7] [8] 0.390103568 - 0.390142244 [8] [9] 0.557216721 - 0.557213915 [9] [10] 0.850929439 - 0.849408106 [10] Backtrace: ▆ 1. ├─withr::with_seed(...) at test-train_forest.R:251:3 2. │ └─withr::with_preserve_seed(...) 3. └─testthat::expect_equal(...) at test-train_forest.R:323:5 [ FAIL 3 | WARN 0 | SKIP 1 | PASS 61 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [84s/96s] 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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(recforest) > > test_check("recforest") since n_bootstrap is not provided, it is set to 2/3 of the sample size: 269 Using sequential processing for training training tree 1/2 [1] "creating terminal node #1" training tree 2/2 [1] "creating terminal node #1" Saving _problems/test-train_forest-300.R Saving _problems/test-train_forest-315.R Saving _problems/test-train_forest-337.R since n_bootstrap is not provided, it is set to 2/3 of the sample size: 269 [ FAIL 3 | WARN 0 | SKIP 1 | PASS 61 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-golden_master.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-train_forest.R:285:5'): train_forest and predict_forest works with method GL ── Expected `trained_forest$metrics` to equal `structure(...)`. Differences: actual vs expected c_index mse_imse mse_iscore - actual[1, ] 0.7843743 18517.19 376.8388 + expected[1, ] 0.7852244 18519.40 374.6235 `actual$c_index`: 0.78437 `expected$c_index`: 0.78522 `actual$mse_imse`: 18517.2 `expected$mse_imse`: 18519.4 `actual$mse_iscore`: 376.8 `expected$mse_iscore`: 374.6 Backtrace: ▆ 1. ├─withr::with_seed(...) at test-train_forest.R:251:3 2. │ └─withr::with_preserve_seed(...) 3. └─testthat::expect_equal(...) at test-train_forest.R:285:5 ── Failure ('test-train_forest.R:301:5'): train_forest and predict_forest works with method GL ── Expected `trained_forest$tree_metrics` to equal `list(...)`. Differences: `actual[[1]]$c_index`: 0.794279 `expected[[1]]$c_index`: 0.794180 `actual[[1]]$mse_imse`: 18613.5 `expected[[1]]$mse_imse`: 18618.2 `actual[[1]]$mse_iscore`: 280.6 `expected[[1]]$mse_iscore`: 275.9 `actual[[2]]$c_index`: 0.7745 `expected[[2]]$c_index`: 0.7763 `actual[[2]]$mse_imse`: 18420.88 `expected[[2]]$mse_imse`: 18420.66 `actual[[2]]$mse_iscore`: 473.11 `expected[[2]]$mse_iscore`: 473.34 Backtrace: ▆ 1. ├─withr::with_seed(...) at test-train_forest.R:251:3 2. │ └─withr::with_preserve_seed(...) 3. └─testthat::expect_equal(...) at test-train_forest.R:301:5 ── Failure ('test-train_forest.R:323:5'): train_forest and predict_forest works with method GL ── Expected `predictions[1:10]` to equal `c(...)`. Differences: actual | expected [1] 0.076394850 | 0.076394850 [1] [2] 0.671167690 - 0.670711027 [2] [3] 1.097814648 - 1.094352976 [3] [4] 0.697723088 - 0.697103214 [4] [5] 1.142139822 - 1.138279300 [5] [6] 0.047180539 | 0.047180539 [6] [7] 0.936614157 - 0.934632879 [7] [8] 0.390103568 - 0.390142244 [8] [9] 0.557216721 - 0.557213915 [9] [10] 0.850929439 - 0.849408106 [10] Backtrace: ▆ 1. ├─withr::with_seed(...) at test-train_forest.R:251:3 2. │ └─withr::with_preserve_seed(...) 3. └─testthat::expect_equal(...) at test-train_forest.R:323:5 [ FAIL 3 | WARN 0 | SKIP 1 | PASS 61 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [4m/13m] 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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(recforest) > > test_check("recforest") OMP: Warning #96: Cannot form a team with 8 threads, using 2 instead. OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set). since n_bootstrap is not provided, it is set to 2/3 of the sample size: 269 Using sequential processing for training training tree 1/2 [1] "creating terminal node #1" training tree 2/2 [1] "creating terminal node #1" Saving _problems/test-train_forest-300.R Saving _problems/test-train_forest-315.R Saving _problems/test-train_forest-337.R since n_bootstrap is not provided, it is set to 2/3 of the sample size: 269 [ FAIL 3 | WARN 0 | SKIP 1 | PASS 61 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-golden_master.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-train_forest.R:285:5'): train_forest and predict_forest works with method GL ── Expected `trained_forest$metrics` to equal `structure(...)`. Differences: actual vs expected c_index mse_imse mse_iscore - actual[1, ] 0.7843743 18517.19 376.8388 + expected[1, ] 0.7852244 18519.40 374.6235 `actual$c_index`: 0.78437 `expected$c_index`: 0.78522 `actual$mse_imse`: 18517.2 `expected$mse_imse`: 18519.4 `actual$mse_iscore`: 376.8 `expected$mse_iscore`: 374.6 Backtrace: ▆ 1. ├─withr::with_seed(...) at test-train_forest.R:251:3 2. │ └─withr::with_preserve_seed(...) 3. └─testthat::expect_equal(...) at test-train_forest.R:285:5 ── Failure ('test-train_forest.R:301:5'): train_forest and predict_forest works with method GL ── Expected `trained_forest$tree_metrics` to equal `list(...)`. Differences: `actual[[1]]$c_index`: 0.794279 `expected[[1]]$c_index`: 0.794180 `actual[[1]]$mse_imse`: 18613.5 `expected[[1]]$mse_imse`: 18618.2 `actual[[1]]$mse_iscore`: 280.6 `expected[[1]]$mse_iscore`: 275.9 `actual[[2]]$c_index`: 0.7745 `expected[[2]]$c_index`: 0.7763 `actual[[2]]$mse_imse`: 18420.88 `expected[[2]]$mse_imse`: 18420.66 `actual[[2]]$mse_iscore`: 473.11 `expected[[2]]$mse_iscore`: 473.34 Backtrace: ▆ 1. ├─withr::with_seed(...) at test-train_forest.R:251:3 2. │ └─withr::with_preserve_seed(...) 3. └─testthat::expect_equal(...) at test-train_forest.R:301:5 ── Failure ('test-train_forest.R:323:5'): train_forest and predict_forest works with method GL ── Expected `predictions[1:10]` to equal `c(...)`. Differences: actual | expected [1] 0.076394850 | 0.076394850 [1] [2] 0.671167690 - 0.670711027 [2] [3] 1.097814648 - 1.094352976 [3] [4] 0.697723088 - 0.697103214 [4] [5] 1.142139822 - 1.138279300 [5] [6] 0.047180539 | 0.047180539 [6] [7] 0.936614157 - 0.934632879 [7] [8] 0.390103568 - 0.390142244 [8] [9] 0.557216721 - 0.557213915 [9] [10] 0.850929439 - 0.849408106 [10] Backtrace: ▆ 1. ├─withr::with_seed(...) at test-train_forest.R:251:3 2. │ └─withr::with_preserve_seed(...) 3. └─testthat::expect_equal(...) at test-train_forest.R:323:5 [ FAIL 3 | WARN 0 | SKIP 1 | PASS 61 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [227s/273s] 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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(recforest) > > test_check("recforest") since n_bootstrap is not provided, it is set to 2/3 of the sample size: 269 Using sequential processing for training training tree 1/2 [1] "creating terminal node #1" training tree 2/2 [1] "creating terminal node #1" Saving _problems/test-train_forest-300.R Saving _problems/test-train_forest-315.R Saving _problems/test-train_forest-337.R since n_bootstrap is not provided, it is set to 2/3 of the sample size: 269 [ FAIL 3 | WARN 0 | SKIP 1 | PASS 61 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-golden_master.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-train_forest.R:285:5'): train_forest and predict_forest works with method GL ── Expected `trained_forest$metrics` to equal `structure(...)`. Differences: actual vs expected c_index mse_imse mse_iscore - actual[1, ] 0.7843743 18517.19 376.8388 + expected[1, ] 0.7852244 18519.40 374.6235 `actual$c_index`: 0.78437 `expected$c_index`: 0.78522 `actual$mse_imse`: 18517.2 `expected$mse_imse`: 18519.4 `actual$mse_iscore`: 376.8 `expected$mse_iscore`: 374.6 Backtrace: ▆ 1. ├─withr::with_seed(...) at test-train_forest.R:251:3 2. │ └─withr::with_preserve_seed(...) 3. └─testthat::expect_equal(...) at test-train_forest.R:285:5 ── Failure ('test-train_forest.R:301:5'): train_forest and predict_forest works with method GL ── Expected `trained_forest$tree_metrics` to equal `list(...)`. Differences: `actual[[1]]$c_index`: 0.794279 `expected[[1]]$c_index`: 0.794180 `actual[[1]]$mse_imse`: 18613.5 `expected[[1]]$mse_imse`: 18618.2 `actual[[1]]$mse_iscore`: 280.6 `expected[[1]]$mse_iscore`: 275.9 `actual[[2]]$c_index`: 0.7745 `expected[[2]]$c_index`: 0.7763 `actual[[2]]$mse_imse`: 18420.88 `expected[[2]]$mse_imse`: 18420.66 `actual[[2]]$mse_iscore`: 473.11 `expected[[2]]$mse_iscore`: 473.34 Backtrace: ▆ 1. ├─withr::with_seed(...) at test-train_forest.R:251:3 2. │ └─withr::with_preserve_seed(...) 3. └─testthat::expect_equal(...) at test-train_forest.R:301:5 ── Failure ('test-train_forest.R:323:5'): train_forest and predict_forest works with method GL ── Expected `predictions[1:10]` to equal `c(...)`. Differences: actual | expected [1] 0.076394850 | 0.076394850 [1] [2] 0.671167690 - 0.670711027 [2] [3] 1.097814648 - 1.094352976 [3] [4] 0.697723088 - 0.697103214 [4] [5] 1.142139822 - 1.138279300 [5] [6] 0.047180539 | 0.047180539 [6] [7] 0.936614157 - 0.934632879 [7] [8] 0.390103568 - 0.390142244 [8] [9] 0.557216721 - 0.557213915 [9] [10] 0.850929439 - 0.849408106 [10] Backtrace: ▆ 1. ├─withr::with_seed(...) at test-train_forest.R:251:3 2. │ └─withr::with_preserve_seed(...) 3. └─testthat::expect_equal(...) at test-train_forest.R:323:5 [ FAIL 3 | WARN 0 | SKIP 1 | PASS 61 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.0.0
Check: tests
Result: ERROR Running 'testthat.R' [143s] 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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(recforest) > > test_check("recforest") since n_bootstrap is not provided, it is set to 2/3 of the sample size: 269 Using sequential processing for training training tree 1/2 [1] "creating terminal node #1" training tree 2/2 [1] "creating terminal node #1" Saving _problems/test-train_forest-300.R Saving _problems/test-train_forest-315.R Saving _problems/test-train_forest-337.R since n_bootstrap is not provided, it is set to 2/3 of the sample size: 269 [ FAIL 3 | WARN 0 | SKIP 1 | PASS 61 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-golden_master.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-train_forest.R:285:5'): train_forest and predict_forest works with method GL ── Expected `trained_forest$metrics` to equal `structure(...)`. Differences: actual vs expected c_index mse_imse mse_iscore - actual[1, ] 0.7843743 18517.19 376.8388 + expected[1, ] 0.7852244 18519.40 374.6235 `actual$c_index`: 0.78437 `expected$c_index`: 0.78522 `actual$mse_imse`: 18517.2 `expected$mse_imse`: 18519.4 `actual$mse_iscore`: 376.8 `expected$mse_iscore`: 374.6 Backtrace: ▆ 1. ├─withr::with_seed(...) at test-train_forest.R:251:3 2. │ └─withr::with_preserve_seed(...) 3. └─testthat::expect_equal(...) at test-train_forest.R:285:5 ── Failure ('test-train_forest.R:301:5'): train_forest and predict_forest works with method GL ── Expected `trained_forest$tree_metrics` to equal `list(...)`. Differences: `actual[[1]]$c_index`: 0.794279 `expected[[1]]$c_index`: 0.794180 `actual[[1]]$mse_imse`: 18613.5 `expected[[1]]$mse_imse`: 18618.2 `actual[[1]]$mse_iscore`: 280.6 `expected[[1]]$mse_iscore`: 275.9 `actual[[2]]$c_index`: 0.7745 `expected[[2]]$c_index`: 0.7763 `actual[[2]]$mse_imse`: 18420.88 `expected[[2]]$mse_imse`: 18420.66 `actual[[2]]$mse_iscore`: 473.11 `expected[[2]]$mse_iscore`: 473.34 Backtrace: ▆ 1. ├─withr::with_seed(...) at test-train_forest.R:251:3 2. │ └─withr::with_preserve_seed(...) 3. └─testthat::expect_equal(...) at test-train_forest.R:301:5 ── Failure ('test-train_forest.R:323:5'): train_forest and predict_forest works with method GL ── Expected `predictions[1:10]` to equal `c(...)`. Differences: actual | expected [1] 0.076394850 | 0.076394850 [1] [2] 0.671167690 - 0.670711027 [2] [3] 1.097814648 - 1.094352976 [3] [4] 0.697723088 - 0.697103214 [4] [5] 1.142139822 - 1.138279300 [5] [6] 0.047180539 | 0.047180539 [6] [7] 0.936614157 - 0.934632879 [7] [8] 0.390103568 - 0.390142244 [8] [9] 0.557216721 - 0.557213915 [9] [10] 0.850929439 - 0.849408106 [10] Backtrace: ▆ 1. ├─withr::with_seed(...) at test-train_forest.R:251:3 2. │ └─withr::with_preserve_seed(...) 3. └─testthat::expect_equal(...) at test-train_forest.R:323:5 [ FAIL 3 | WARN 0 | SKIP 1 | PASS 61 ] Error: ! Test failures. Execution halted Flavor: r-devel-windows-x86_64

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [133s/187s] 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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(recforest) > > test_check("recforest") since n_bootstrap is not provided, it is set to 2/3 of the sample size: 269 Using sequential processing for training training tree 1/2 [1] "creating terminal node #1" training tree 2/2 [1] "creating terminal node #1" Saving _problems/test-train_forest-300.R Saving _problems/test-train_forest-315.R Saving _problems/test-train_forest-337.R since n_bootstrap is not provided, it is set to 2/3 of the sample size: 269 [ FAIL 3 | WARN 0 | SKIP 1 | PASS 61 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-golden_master.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-train_forest.R:285:5'): train_forest and predict_forest works with method GL ── Expected `trained_forest$metrics` to equal `structure(...)`. Differences: actual vs expected c_index mse_imse mse_iscore - actual[1, ] 0.7843743 18517.19 376.8388 + expected[1, ] 0.7852244 18519.40 374.6235 `actual$c_index`: 0.78437 `expected$c_index`: 0.78522 `actual$mse_imse`: 18517.2 `expected$mse_imse`: 18519.4 `actual$mse_iscore`: 376.8 `expected$mse_iscore`: 374.6 Backtrace: ▆ 1. ├─withr::with_seed(...) at test-train_forest.R:251:3 2. │ └─withr::with_preserve_seed(...) 3. └─testthat::expect_equal(...) at test-train_forest.R:285:5 ── Failure ('test-train_forest.R:301:5'): train_forest and predict_forest works with method GL ── Expected `trained_forest$tree_metrics` to equal `list(...)`. Differences: `actual[[1]]$c_index`: 0.794279 `expected[[1]]$c_index`: 0.794180 `actual[[1]]$mse_imse`: 18613.5 `expected[[1]]$mse_imse`: 18618.2 `actual[[1]]$mse_iscore`: 280.6 `expected[[1]]$mse_iscore`: 275.9 `actual[[2]]$c_index`: 0.7745 `expected[[2]]$c_index`: 0.7763 `actual[[2]]$mse_imse`: 18420.88 `expected[[2]]$mse_imse`: 18420.66 `actual[[2]]$mse_iscore`: 473.11 `expected[[2]]$mse_iscore`: 473.34 Backtrace: ▆ 1. ├─withr::with_seed(...) at test-train_forest.R:251:3 2. │ └─withr::with_preserve_seed(...) 3. └─testthat::expect_equal(...) at test-train_forest.R:301:5 ── Failure ('test-train_forest.R:323:5'): train_forest and predict_forest works with method GL ── Expected `predictions[1:10]` to equal `c(...)`. Differences: actual | expected [1] 0.076394850 | 0.076394850 [1] [2] 0.671167690 - 0.670711027 [2] [3] 1.097814648 - 1.094352976 [3] [4] 0.697723088 - 0.697103214 [4] [5] 1.142139822 - 1.138279300 [5] [6] 0.047180539 | 0.047180539 [6] [7] 0.936614157 - 0.934632879 [7] [8] 0.390103568 - 0.390142244 [8] [9] 0.557216721 - 0.557213915 [9] [10] 0.850929439 - 0.849408106 [10] Backtrace: ▆ 1. ├─withr::with_seed(...) at test-train_forest.R:251:3 2. │ └─withr::with_preserve_seed(...) 3. └─testthat::expect_equal(...) at test-train_forest.R:323:5 [ FAIL 3 | WARN 0 | SKIP 1 | PASS 61 ] Error: ! Test failures. Execution halted Flavor: r-patched-linux-x86_64

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [132s/172s] 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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(recforest) > > test_check("recforest") since n_bootstrap is not provided, it is set to 2/3 of the sample size: 269 Using sequential processing for training training tree 1/2 [1] "creating terminal node #1" training tree 2/2 [1] "creating terminal node #1" Saving _problems/test-train_forest-300.R Saving _problems/test-train_forest-315.R Saving _problems/test-train_forest-337.R since n_bootstrap is not provided, it is set to 2/3 of the sample size: 269 [ FAIL 3 | WARN 0 | SKIP 1 | PASS 61 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-golden_master.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-train_forest.R:285:5'): train_forest and predict_forest works with method GL ── Expected `trained_forest$metrics` to equal `structure(...)`. Differences: actual vs expected c_index mse_imse mse_iscore - actual[1, ] 0.7843743 18517.19 376.8388 + expected[1, ] 0.7852244 18519.40 374.6235 `actual$c_index`: 0.78437 `expected$c_index`: 0.78522 `actual$mse_imse`: 18517.2 `expected$mse_imse`: 18519.4 `actual$mse_iscore`: 376.8 `expected$mse_iscore`: 374.6 Backtrace: ▆ 1. ├─withr::with_seed(...) at test-train_forest.R:251:3 2. │ └─withr::with_preserve_seed(...) 3. └─testthat::expect_equal(...) at test-train_forest.R:285:5 ── Failure ('test-train_forest.R:301:5'): train_forest and predict_forest works with method GL ── Expected `trained_forest$tree_metrics` to equal `list(...)`. Differences: `actual[[1]]$c_index`: 0.794279 `expected[[1]]$c_index`: 0.794180 `actual[[1]]$mse_imse`: 18613.5 `expected[[1]]$mse_imse`: 18618.2 `actual[[1]]$mse_iscore`: 280.6 `expected[[1]]$mse_iscore`: 275.9 `actual[[2]]$c_index`: 0.7745 `expected[[2]]$c_index`: 0.7763 `actual[[2]]$mse_imse`: 18420.88 `expected[[2]]$mse_imse`: 18420.66 `actual[[2]]$mse_iscore`: 473.11 `expected[[2]]$mse_iscore`: 473.34 Backtrace: ▆ 1. ├─withr::with_seed(...) at test-train_forest.R:251:3 2. │ └─withr::with_preserve_seed(...) 3. └─testthat::expect_equal(...) at test-train_forest.R:301:5 ── Failure ('test-train_forest.R:323:5'): train_forest and predict_forest works with method GL ── Expected `predictions[1:10]` to equal `c(...)`. Differences: actual | expected [1] 0.076394850 | 0.076394850 [1] [2] 0.671167690 - 0.670711027 [2] [3] 1.097814648 - 1.094352976 [3] [4] 0.697723088 - 0.697103214 [4] [5] 1.142139822 - 1.138279300 [5] [6] 0.047180539 | 0.047180539 [6] [7] 0.936614157 - 0.934632879 [7] [8] 0.390103568 - 0.390142244 [8] [9] 0.557216721 - 0.557213915 [9] [10] 0.850929439 - 0.849408106 [10] Backtrace: ▆ 1. ├─withr::with_seed(...) at test-train_forest.R:251:3 2. │ └─withr::with_preserve_seed(...) 3. └─testthat::expect_equal(...) at test-train_forest.R:323:5 [ FAIL 3 | WARN 0 | SKIP 1 | PASS 61 ] Error: ! Test failures. Execution halted Flavor: r-release-linux-x86_64

Version: 1.0.0
Check: tests
Result: ERROR Running 'testthat.R' [173s] 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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(recforest) > > test_check("recforest") since n_bootstrap is not provided, it is set to 2/3 of the sample size: 269 Using sequential processing for training training tree 1/2 [1] "creating terminal node #1" training tree 2/2 [1] "creating terminal node #1" Saving _problems/test-train_forest-300.R Saving _problems/test-train_forest-315.R Saving _problems/test-train_forest-337.R since n_bootstrap is not provided, it is set to 2/3 of the sample size: 269 [ FAIL 3 | WARN 0 | SKIP 1 | PASS 61 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-golden_master.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-train_forest.R:285:5'): train_forest and predict_forest works with method GL ── Expected `trained_forest$metrics` to equal `structure(...)`. Differences: actual vs expected c_index mse_imse mse_iscore - actual[1, ] 0.7843743 18517.19 376.8388 + expected[1, ] 0.7852244 18519.40 374.6235 `actual$c_index`: 0.78437 `expected$c_index`: 0.78522 `actual$mse_imse`: 18517.2 `expected$mse_imse`: 18519.4 `actual$mse_iscore`: 376.8 `expected$mse_iscore`: 374.6 Backtrace: ▆ 1. ├─withr::with_seed(...) at test-train_forest.R:251:3 2. │ └─withr::with_preserve_seed(...) 3. └─testthat::expect_equal(...) at test-train_forest.R:285:5 ── Failure ('test-train_forest.R:301:5'): train_forest and predict_forest works with method GL ── Expected `trained_forest$tree_metrics` to equal `list(...)`. Differences: `actual[[1]]$c_index`: 0.794279 `expected[[1]]$c_index`: 0.794180 `actual[[1]]$mse_imse`: 18613.5 `expected[[1]]$mse_imse`: 18618.2 `actual[[1]]$mse_iscore`: 280.6 `expected[[1]]$mse_iscore`: 275.9 `actual[[2]]$c_index`: 0.7745 `expected[[2]]$c_index`: 0.7763 `actual[[2]]$mse_imse`: 18420.88 `expected[[2]]$mse_imse`: 18420.66 `actual[[2]]$mse_iscore`: 473.11 `expected[[2]]$mse_iscore`: 473.34 Backtrace: ▆ 1. ├─withr::with_seed(...) at test-train_forest.R:251:3 2. │ └─withr::with_preserve_seed(...) 3. └─testthat::expect_equal(...) at test-train_forest.R:301:5 ── Failure ('test-train_forest.R:323:5'): train_forest and predict_forest works with method GL ── Expected `predictions[1:10]` to equal `c(...)`. Differences: actual | expected [1] 0.076394850 | 0.076394850 [1] [2] 0.671167690 - 0.670711027 [2] [3] 1.097814648 - 1.094352976 [3] [4] 0.697723088 - 0.697103214 [4] [5] 1.142139822 - 1.138279300 [5] [6] 0.047180539 | 0.047180539 [6] [7] 0.936614157 - 0.934632879 [7] [8] 0.390103568 - 0.390142244 [8] [9] 0.557216721 - 0.557213915 [9] [10] 0.850929439 - 0.849408106 [10] Backtrace: ▆ 1. ├─withr::with_seed(...) at test-train_forest.R:251:3 2. │ └─withr::with_preserve_seed(...) 3. └─testthat::expect_equal(...) at test-train_forest.R:323:5 [ FAIL 3 | WARN 0 | SKIP 1 | PASS 61 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64

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.