CRAN Package Check Results for Package binsegRcpp

Last updated on 2025-12-19 10:51:59 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2025.5.13 18.67 61.89 80.56 OK
r-devel-linux-x86_64-debian-gcc 2025.5.13 13.23 43.62 56.85 OK
r-devel-linux-x86_64-fedora-clang 2025.5.13 41.00 85.29 126.29 ERROR
r-devel-linux-x86_64-fedora-gcc 2025.5.13 37.00 107.15 144.15 OK
r-devel-windows-x86_64 2025.5.13 23.00 101.00 124.00 OK
r-patched-linux-x86_64 2025.5.13 19.84 57.14 76.98 OK
r-release-linux-x86_64 2025.5.13 19.62 56.41 76.03 OK
r-release-macos-arm64 2025.5.13 OK
r-release-macos-x86_64 2025.5.13 14.00 140.00 154.00 OK
r-release-windows-x86_64 2025.5.13 25.00 101.00 126.00 OK
r-oldrel-macos-arm64 2025.5.13 OK
r-oldrel-macos-x86_64 2025.5.13 14.00 125.00 139.00 OK
r-oldrel-windows-x86_64 2025.5.13 27.00 124.00 151.00 OK

Check Details

Version: 2025.5.13
Check: examples
Result: ERROR Running examples in ‘binsegRcpp-Ex.R’ failed The error most likely occurred in: > ### Name: get_complexity > ### Title: get complexity > ### Aliases: get_complexity > > ### ** Examples > > > ## Example 1: empirical=worst case. > data.vec <- rep(0:1, l=8) > plot(data.vec) > worst.model <- binsegRcpp::binseg_normal(data.vec) > worst.counts <- binsegRcpp::get_complexity(worst.model) Error in `[.data.table`(iterations, , `:=`(cum.splits, cumsum(splits)), : attempt access index 4/4 in VECTOR_ELT Calls: <Anonymous> -> [ -> [.data.table Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 2025.5.13
Check: tests
Result: ERROR Running ‘testthat.R’ [8s/11s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > data.table::setDTthreads(1) > if(require(testthat))test_check("binsegRcpp") Loading required package: testthat Loading required package: binsegRcpp Saving _problems/test-CRAN-458.R Saving _problems/test-CRAN-472.R [ FAIL 2 | WARN 0 | SKIP 0 | PASS 181 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-CRAN.R:458:5'): get_complexity respects min.segment.length ───── Error in ``[.data.table`(iterations, , `:=`(cum.splits, cumsum(splits)), by = case)`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. └─binsegRcpp::get_complexity(fit) at test-CRAN.R:458:5 2. ├─iterations[, `:=`(cum.splits, cumsum(splits)), by = case] 3. └─data.table:::`[.data.table`(...) ── Error ('test-CRAN.R:472:5'): empirical splits not negative ────────────────── Error in ``[.data.table`(iterations, , `:=`(cum.splits, cumsum(splits)), by = case)`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. └─binsegRcpp::get_complexity(fit) at test-CRAN.R:472:5 2. ├─iterations[, `:=`(cum.splits, cumsum(splits)), by = case] 3. └─data.table:::`[.data.table`(...) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 181 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang