CRAN Package Check Results for Package BuyseTest

Last updated on 2025-12-19 12:49:03 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.3.4 98.66 319.52 418.18 OK
r-devel-linux-x86_64-debian-gcc 3.3.4 77.84 207.19 285.03 OK
r-devel-linux-x86_64-fedora-clang 3.3.4 163.00 451.01 614.01 ERROR
r-devel-linux-x86_64-fedora-gcc 3.3.4 187.00 430.77 617.77 ERROR
r-devel-windows-x86_64 3.3.4 108.00 190.00 298.00 OK --no-examples --no-tests --no-vignettes
r-patched-linux-x86_64 3.3.4 101.92 278.53 380.45 OK
r-release-linux-x86_64 3.3.4 105.27 277.26 382.53 OK
r-release-macos-arm64 3.3.4 OK
r-release-macos-x86_64 3.3.4 62.00 196.00 258.00 OK
r-release-windows-x86_64 3.3.4 107.00 156.00 263.00 OK --no-examples --no-tests --no-vignettes
r-oldrel-macos-arm64 3.3.4 NOTE
r-oldrel-macos-x86_64 3.3.4 59.00 249.00 308.00 NOTE
r-oldrel-windows-x86_64 3.3.4 135.00 157.00 292.00 OK --no-examples --no-tests --no-vignettes

Check Details

Version: 3.3.4
Check: tests
Result: ERROR Running ‘testthat.R’ [136s/126s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > ## * load packages > library(testthat) > library(BuyseTest) Loading required package: Rcpp BuyseTest version 3.3.4 > > library(lava) Attaching package: 'lava' The following object is masked from 'package:testthat': compare > library(data.table) Attaching package: 'data.table' The following object is masked from 'package:base': %notin% > library(survival) Attaching package: 'survival' The following object is masked from 'package:BuyseTest': brier > xx <- capture.output(print(veteran)) > library(riskRegression) riskRegression version 2025.09.17 > library(prodlim) > library(mvtnorm) > > ## * run tests > ## setwd("~/Documents/GitHub/BuyseTest/tests/") > ## source("~/Documents/GitHub/BuyseTest/tests/testthat/test-BuyseTest-engine.R") > test_check("BuyseTest") Saving _problems/test-BuysePower-92.R Saving _problems/test-BuysePower-132.R Saving _problems/test-BuysePower-174.R Saving _problems/test-BuyseTTEM-34.R Saving _problems/test-BuyseTest-standardization-184.R Saving _problems/test-BuyseTest-standardization-212.R [ FAIL 6 | WARN 0 | SKIP 2 | PASS 1157 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • empty test (2): 'test-BuyseTest-previousBug.R:554:1', ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-BuysePower.R:92:9'): 1 tte endpoint - Gehan ──────────────────── Error in ``[.data.table`(d, , `:=`(id, 1:.N), by = "treatment")`: attempt access index 5/5 in VECTOR_ELT Backtrace: ▆ 1. ├─d[, `:=`(id, 1:.N), by = "treatment"] at test-BuysePower.R:92:9 2. └─data.table:::`[.data.table`(d, , `:=`(id, 1:.N), by = "treatment") at test-BuysePower.R:92:9 ── Error ('test-BuysePower.R:132:9'): 1 tte endpoint - Peron ─────────────────── Error in ``[.data.table`(d, , `:=`(id, 1:.N), by = "treatment")`: attempt access index 5/5 in VECTOR_ELT Backtrace: ▆ 1. ├─d[, `:=`(id, 1:.N), by = "treatment"] at test-BuysePower.R:132:9 2. └─data.table:::`[.data.table`(d, , `:=`(id, 1:.N), by = "treatment") at test-BuysePower.R:132:9 ── Error ('test-BuysePower.R:174:9'): Multiple endpoints ─────────────────────── Error in ``[.data.table`(d, , `:=`(id, 1:.N), by = "treatment")`: attempt access index 5/5 in VECTOR_ELT Backtrace: ▆ 1. ├─d[, `:=`(id, 1:.N), by = "treatment"] at test-BuysePower.R:174:9 2. └─data.table:::`[.data.table`(d, , `:=`(id, 1:.N), by = "treatment") at test-BuysePower.R:174:9 ── Error ('test-BuyseTTEM.R:34:1'): (code run outside of `test_that()`) ──────── Error in ``[.data.table`(dt, , `:=`(last, eventtime == max(eventtime)), by = c("treatment", "toxicity"))`: attempt access index 6/6 in VECTOR_ELT Backtrace: ▆ 1. ├─...[] at test-BuyseTTEM.R:34:1 2. └─data.table:::`[.data.table`(...) at test-BuyseTTEM.R:34:1 ── Error ('test-BuyseTest-standardization.R:184:5'): BuyseTest - standarization (second order, binary outcome, balanced) ── Error in ``[.data.table`(mytable, , `:=`(m.X, length(unique(index.0))), by = "strata")`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. ├─mytable[, `:=`(m.X, length(unique(index.0))), by = "strata"] at test-BuyseTest-standardization.R:184:5 2. └─data.table:::`[.data.table`(...) at test-BuyseTest-standardization.R:184:5 ── Error ('test-BuyseTest-standardization.R:212:5'): BuyseTest - standarization (second order, binary outcome, unbalanced) ── Error in ``[.data.table`(mytableUB, , `:=`(m.X, length(unique(index.0))), by = "strata")`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. ├─mytableUB[, `:=`(m.X, length(unique(index.0))), by = "strata"] at test-BuyseTest-standardization.R:212:5 2. └─data.table:::`[.data.table`(...) at test-BuyseTest-standardization.R:212:5 [ FAIL 6 | WARN 0 | SKIP 2 | PASS 1157 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 3.3.4
Check: tests
Result: ERROR Running ‘testthat.R’ [120s/142s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > ## * load packages > library(testthat) > library(BuyseTest) Loading required package: Rcpp BuyseTest version 3.3.4 > > library(lava) Attaching package: 'lava' The following object is masked from 'package:testthat': compare > library(data.table) Attaching package: 'data.table' The following object is masked from 'package:base': %notin% > library(survival) Attaching package: 'survival' The following object is masked from 'package:BuyseTest': brier > xx <- capture.output(print(veteran)) > library(riskRegression) riskRegression version 2025.09.17 > library(prodlim) > library(mvtnorm) > > ## * run tests > ## setwd("~/Documents/GitHub/BuyseTest/tests/") > ## source("~/Documents/GitHub/BuyseTest/tests/testthat/test-BuyseTest-engine.R") > test_check("BuyseTest") Saving _problems/test-BuysePower-92.R Saving _problems/test-BuysePower-132.R Saving _problems/test-BuysePower-174.R Saving _problems/test-BuyseTTEM-34.R Saving _problems/test-BuyseTest-standardization-184.R Saving _problems/test-BuyseTest-standardization-212.R [ FAIL 6 | WARN 0 | SKIP 2 | PASS 1157 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • empty test (2): 'test-BuyseTest-previousBug.R:554:1', ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-BuysePower.R:92:9'): 1 tte endpoint - Gehan ──────────────────── Error in ``[.data.table`(d, , `:=`(id, 1:.N), by = "treatment")`: attempt access index 5/5 in VECTOR_ELT Backtrace: ▆ 1. ├─d[, `:=`(id, 1:.N), by = "treatment"] at test-BuysePower.R:92:9 2. └─data.table:::`[.data.table`(d, , `:=`(id, 1:.N), by = "treatment") at test-BuysePower.R:92:9 ── Error ('test-BuysePower.R:132:9'): 1 tte endpoint - Peron ─────────────────── Error in ``[.data.table`(d, , `:=`(id, 1:.N), by = "treatment")`: attempt access index 5/5 in VECTOR_ELT Backtrace: ▆ 1. ├─d[, `:=`(id, 1:.N), by = "treatment"] at test-BuysePower.R:132:9 2. └─data.table:::`[.data.table`(d, , `:=`(id, 1:.N), by = "treatment") at test-BuysePower.R:132:9 ── Error ('test-BuysePower.R:174:9'): Multiple endpoints ─────────────────────── Error in ``[.data.table`(d, , `:=`(id, 1:.N), by = "treatment")`: attempt access index 5/5 in VECTOR_ELT Backtrace: ▆ 1. ├─d[, `:=`(id, 1:.N), by = "treatment"] at test-BuysePower.R:174:9 2. └─data.table:::`[.data.table`(d, , `:=`(id, 1:.N), by = "treatment") at test-BuysePower.R:174:9 ── Error ('test-BuyseTTEM.R:34:1'): (code run outside of `test_that()`) ──────── Error in ``[.data.table`(dt, , `:=`(last, eventtime == max(eventtime)), by = c("treatment", "toxicity"))`: attempt access index 6/6 in VECTOR_ELT Backtrace: ▆ 1. ├─...[] at test-BuyseTTEM.R:34:1 2. └─data.table:::`[.data.table`(...) at test-BuyseTTEM.R:34:1 ── Error ('test-BuyseTest-standardization.R:184:5'): BuyseTest - standarization (second order, binary outcome, balanced) ── Error in ``[.data.table`(mytable, , `:=`(m.X, length(unique(index.0))), by = "strata")`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. ├─mytable[, `:=`(m.X, length(unique(index.0))), by = "strata"] at test-BuyseTest-standardization.R:184:5 2. └─data.table:::`[.data.table`(...) at test-BuyseTest-standardization.R:184:5 ── Error ('test-BuyseTest-standardization.R:212:5'): BuyseTest - standarization (second order, binary outcome, unbalanced) ── Error in ``[.data.table`(mytableUB, , `:=`(m.X, length(unique(index.0))), by = "strata")`: attempt access index 9/9 in VECTOR_ELT Backtrace: ▆ 1. ├─mytableUB[, `:=`(m.X, length(unique(index.0))), by = "strata"] at test-BuyseTest-standardization.R:212:5 2. └─data.table:::`[.data.table`(...) at test-BuyseTest-standardization.R:212:5 [ FAIL 6 | WARN 0 | SKIP 2 | PASS 1157 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 3.3.4
Check: installed package size
Result: NOTE installed size is 10.3Mb sub-directories of 1Mb or more: libs 7.2Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64