Last updated on 2025-01-30 16:49:01 CET.
Package | ERROR | NOTE | OK |
---|---|---|---|
distillML | 13 | ||
Rforestry | 2 | 2 | 9 |
Current CRAN status: OK: 13
Current CRAN status: ERROR: 2, NOTE: 2, OK: 9
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’ [67s/63s]
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-30 11:33:16 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
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.