CRAN Package Check Results for Package arulesCBA

Last updated on 2025-05-13 19:52:26 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.7 9.71 104.42 114.13 ERROR
r-devel-linux-x86_64-debian-gcc 1.2.7 7.54 76.86 84.40 NOTE
r-devel-linux-x86_64-fedora-clang 1.2.7 179.30 OK
r-devel-linux-x86_64-fedora-gcc 1.2.7 190.61 OK
r-devel-windows-x86_64 1.2.7 13.00 111.00 124.00 OK
r-patched-linux-x86_64 1.2.7 10.80 102.38 113.18 OK
r-release-linux-x86_64 1.2.7 10.02 100.90 110.92 OK
r-release-macos-arm64 1.2.7 102.00 OK
r-release-macos-x86_64 1.2.7 120.00 OK
r-release-windows-x86_64 1.2.7 15.00 111.00 126.00 OK
r-oldrel-macos-arm64 1.2.7 68.00 OK
r-oldrel-macos-x86_64 1.2.7 91.00 OK
r-oldrel-windows-x86_64 1.2.7 17.00 142.00 159.00 OK

Check Details

Version: 1.2.7
Check: CRAN incoming feasibility
Result: NOTE Maintainer: ‘Michael Hahsler <mhahsler@lyle.smu.edu>’ The BugReports field in DESCRIPTION has https://github.com/mhahsler/arulesCBA which should likely be https://github.com/mhahsler/arulesCBA/issues instead. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 1.2.7
Check: tests
Result: ERROR Running ‘testthat.R’ [17s/20s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library("testthat") > library("arulesCBA") Loading required package: Matrix Loading required package: arules Attaching package: 'arules' The following objects are masked from 'package:base': abbreviate, write > > testthat::test_check("arulesCBA") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 84 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-classifiers.R:60:3'): (code run outside of `test_that()`) ────── Error in `base::rowSums(x, na.rm = na.rm, dims = dims, ...)`: 'x' must be an array of at least two dimensions Backtrace: ▆ 1. └─arulesCBA (local) cl(f, dat) at test-classifiers.R:60:3 2. └─arulesCBA::pruneCBA_M1(formula, rulebase, trans) 3. ├─methods (local) rowSums(rhss[class_ids, ]) 4. └─methods (local) rowSums(rhss[class_ids, ]) 5. └─base::rowSums(x, na.rm = na.rm, dims = dims, ...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 84 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang