CRAN Package Check Results for Maintainer ‘Kouhei Sutou <kou at clear-code.com>’

Last updated on 2025-04-21 14:49:57 CEST.

Package ERROR OK
treefit 1 12

Package treefit

Current CRAN status: ERROR: 1, OK: 12

Version: 1.0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [4s/6s] 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") [ 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 ─────────────────────────── list("tree-like", 2) not equal to list(fit$name, fit$n_principal_paths_candidates[1]). Component 2: Mean relative difference: 0.5 [ FAIL 1 | WARN 0 | SKIP 1 | PASS 11 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc