CRAN Package Check Results for Package basksim

Last updated on 2026-02-21 17:50:29 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-fedora-clang 2.0.2 9.00 477.34 486.34 ERROR
r-devel-macos-arm64 2.0.2 1.00 113.00 114.00 OK
r-release-macos-arm64 2.0.2 1.00 117.00 118.00 OK
r-release-macos-x86_64 1.0.0 3.00 781.00 784.00 OK
r-oldrel-macos-arm64 2.0.2 1.00 120.00 121.00 OK
r-oldrel-macos-x86_64 1.0.0 3.00 477.00 480.00 OK

Additional issues

M1mac

Check Details

Version: 2.0.2
Check: examples
Result: ERROR Running examples in ‘basksim-Ex.R’ failed The error most likely occurred in: > ### Name: get_evaluation.bhm > ### Title: Evaluate a BHM Basket Trial > ### Aliases: get_evaluation.bhm > > ### ** Examples > > design <- setup_bhm(k = 3, p0 = 0.2, p_target = 0.5) > > get_evaluation(design = design, n = c(20, 20, 20), r = c(10, 15, 5), + lambda = 0.95, tau_scale = 1, iter = 100) Error in est[, 1] : incorrect number of dimensions Calls: get_evaluation -> get_evaluation.bhm -> unname Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 2.0.2
Check: tests
Result: ERROR Running ‘testthat.R’ [6m/21m] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(basksim) > > test_check("basksim") Saving _problems/test-get_details-31.R Saving _problems/test-get_details-109.R Saving _problems/test-get_evaluation-6.R Saving _problems/test-get_evaluation-10.R Saving _problems/test-get_evaluation-28.R Saving _problems/test-get_evaluation-32.R [ FAIL 6 | WARN 0 | SKIP 13 | PASS 228 ] ══ Skipped tests (13) ══════════════════════════════════════════════════════════ • On CRAN (13): 'test-adjust_lambda.R:15:3', 'test-adjust_lambda.R:73:3', 'test-adjust_lambda.R:119:3', 'test-get_details.R:11:3', 'test-get_details.R:203:3', 'test-get_details.R:234:5', 'test-get_details.R:297:3', 'test-get_details.R:335:3', 'test-get_details.R:383:3', 'test-get_details.R:420:3', 'test-get_details.R:460:3', 'test-get_details.R:486:3', 'test-opt_design.R:19:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-get_details.R:30:3'): get_details works for bhm ──────────────── Error in `est[, 1]`: incorrect number of dimensions Backtrace: ▆ 1. ├─basksim::get_details(...) at test-get_details.R:30:3 2. └─basksim:::get_details.bhm(...) 3. └─base::unname(est[, 1]) ── Error ('test-get_details.R:108:3'): get_details works for exnex ───────────── Error in `est[, 1]`: incorrect number of dimensions Backtrace: ▆ 1. ├─basksim::get_details(...) at test-get_details.R:108:3 2. └─basksim:::get_details.exnex(...) 3. └─base::unname(est[, 1]) ── Failure ('test-get_evaluation.R:5:3'): get_evaluation works for bhm ───────── Expected `get_evaluation(...)` not to throw any errors. Actually got a <simpleError> with message: incorrect number of dimensions ── Failure ('test-get_evaluation.R:9:3'): get_evaluation works for bhm ───────── Expected `get_evaluation(...)` not to throw any errors. Actually got a <simpleError> with message: incorrect number of dimensions ── Failure ('test-get_evaluation.R:27:3'): get_evaluation works for exnex ────── Expected `get_evaluation(...)` not to throw any errors. Actually got a <simpleError> with message: incorrect number of dimensions ── Failure ('test-get_evaluation.R:31:3'): get_evaluation works for exnex ────── Expected `get_evaluation(...)` not to throw any errors. Actually got a <simpleError> with message: incorrect number of dimensions [ FAIL 6 | WARN 0 | SKIP 13 | PASS 228 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang