CRAN Package Check Results for Package binsegRcpp

Last updated on 2025-12-26 12:49:48 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2025.5.13 19.90 64.72 84.62 OK
r-devel-linux-x86_64-debian-gcc 2025.5.13 13.75 45.64 59.39 OK
r-devel-linux-x86_64-fedora-clang 2025.5.13 45.00 105.28 150.28 OK
r-devel-linux-x86_64-fedora-gcc 2025.5.13 40.00 131.02 171.02 OK
r-devel-windows-x86_64 2025.5.13 23.00 96.00 119.00 ERROR
r-patched-linux-x86_64 2025.5.13 19.31 57.17 76.48 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 27.00 106.00 133.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 22.00 124.00 146.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-windows-x86_64

Version: 2025.5.13
Check: tests
Result: ERROR Running 'testthat.R' [4s] 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-windows-x86_64