CRAN Package Check Results for Package Rforestry

Last updated on 2025-02-01 12:48:37 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.10.0 77.11 171.76 248.87 OK
r-devel-linux-x86_64-debian-gcc 0.10.0 58.46 124.91 183.37 OK
r-devel-linux-x86_64-fedora-clang 0.10.0 432.20 OK
r-devel-linux-x86_64-fedora-gcc 0.10.0 430.05 OK
r-devel-windows-x86_64 0.10.0 82.00 167.00 249.00 OK
r-patched-linux-x86_64 0.10.0 78.79 156.75 235.54 OK
r-release-linux-x86_64 0.10.0 82.40 157.82 240.22 OK
r-release-macos-arm64 0.10.0 95.00 NOTE
r-release-macos-x86_64 0.10.0 149.00 ERROR
r-release-windows-x86_64 0.10.0 81.00 177.00 258.00 OK
r-oldrel-macos-arm64 0.10.0 112.00 NOTE
r-oldrel-macos-x86_64 0.10.0 147.00 ERROR
r-oldrel-windows-x86_64 0.10.0 88.00 205.00 293.00 OK

Check Details

Version: 0.10.0
Check: installed package size
Result: NOTE installed size is 7.3Mb sub-directories of 1Mb or more: libs 7.1Mb Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 0.10.0
Check: tests
Result: ERROR Running ‘testthat.R’ [68s/58s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(Rforestry) ## ## Rforestry (Version 0.10.0, Build Date: R 4.4.1; x86_64-apple-darwin20; 2025-01-31 00:47:56 UTC; unix) ## See https://github.com/forestry-labs for additional documentation. ## Please cite software as: ## Soren R. Kunzel, Theo F. Saarinen, Edward W. Liu, Jasjeet S. Sekhon. 2019. ## ''Linear Aggregation in Tree-based Estimators.'' arXiv preprint ## arXiv:1906.06463. https://arxiv.org/abs/1906.06463 ## > > test_check("Rforestry") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1422 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-forestry.R:48:3'): Tests that random forest is working correctly ── `rf <- forestry(x = iris[, -1], y = iris[, 1], seed = seed_i)` threw an error with unexpected message. Expected match: "A parameter passed is not assigned: object 'seed_i' not found\n" Actual message: "A parameter passed is not assigned: Error in eval(code, test_env): object 'seed_i' not found\n" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-forestry.R:48:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─Rforestry::forestry(x = iris[, -1], y = iris[, 1], seed = seed_i) 7. └─base::tryCatch(...) 8. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 9. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 10. └─value[[3L]](cond) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1422 ] Error: Test failures Execution halted Flavor: r-release-macos-x86_64

Version: 0.10.0
Check: tests
Result: ERROR Running ‘testthat.R’ [64s/56s] Running the tests in ‘tests/testthat.R’ failed. Last 13 lines of output: ▆ 1. ├─testthat::expect_error(...) at test-forestry.R:48:2 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─Rforestry::forestry(x = iris[, -1], y = iris[, 1], seed = seed_i) 7. └─base::tryCatch(...) 8. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 9. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 10. └─value[[3L]](cond) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1422 ] Error: Test failures Execution halted Flavor: r-oldrel-macos-x86_64