Last updated on 2025-12-03 05:50:50 CET.
| Package | ERROR | OK |
|---|---|---|
| treefit | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 1.0.3
Check: tests
Result: ERROR
Running 'testthat.R' [8s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> # Copyright (C) 2020 Momoko Hayamizu <hayamizu@ism.ac.jp>
> #
> # This program is free software: you can redistribute it and/or modify
> # it under the terms of the GNU General Public License as published by
> # the Free Software Foundation, either version 3 of the License, or
> # (at your option) any later version.
> #
> # This program is distributed in the hope that it will be useful,
> # but WITHOUT ANY WARRANTY; without even the implied warranty of
> # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> # GNU General Public License for more details.
> #
> # You should have received a copy of the GNU General Public License
> # along with this program. If not, see <http://www.gnu.org/licenses/>.
>
> library(testthat)
> library(treefit)
>
> test_check("treefit")
Saving _problems/test-treefit-137.R
[ FAIL 1 | WARN 0 | SKIP 1 | PASS 11 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-treefit.R:143:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-treefit.R:134:3'): treefit: 2 arms ───────────────────────────
Expected `list("tree-like", 2)` to equal `list(fit$name, fit$n_principal_paths_candidates[1])`.
Differences:
Component 2: Mean relative difference: 0.5
[ FAIL 1 | WARN 0 | SKIP 1 | PASS 11 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-windows-x86_64