• using R version 4.4.3 Patched (2026-02-12 r89409)
  • using platform: x86_64-apple-darwin20
  • R was compiled by     Apple clang version 14.0.0 (clang-1400.0.29.202)     GNU Fortran (GCC) 12.2.0
  • running under: macOS Ventura 13.3.1
  • using session charset: UTF-8
  • checking for file ‘basksim/DESCRIPTION’ ... OK
  • checking extension type ... Package
  • this is package ‘basksim’ version ‘2.0.2’
  • package encoding: UTF-8
  • checking package namespace information ... OK
  • checking package dependencies ... OK
  • checking if this is a source package ... OK
  • checking if there is a namespace ... OK
  • checking for executable files ... OK
  • checking for hidden files and directories ... OK
  • checking for portable file names ... OK
  • checking for sufficient/correct file permissions ... OK
  • checking whether package ‘basksim’ can be installed ... [4s/14s] OK See the install log for details.
  • checking installed package size ... OK
  • checking package directory ... OK
  • checking DESCRIPTION meta-information ... OK
  • checking top-level files ... OK
  • checking for left-over files ... OK
  • checking index information ... OK
  • checking package subdirectories ... OK
  • checking code files for non-ASCII characters ... OK
  • checking R files for syntax errors ... OK
  • checking whether the package can be loaded ... [0s/1s] OK
  • checking whether the package can be loaded with stated dependencies ... [0s/1s] OK
  • checking whether the package can be unloaded cleanly ... [0s/1s] OK
  • checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
  • checking whether the namespace can be unloaded cleanly ... [0s/1s] OK
  • checking loading without being on the library search path ... [0s/1s] OK
  • checking dependencies in R code ... OK
  • checking S3 generic/method consistency ... OK
  • checking replacement functions ... OK
  • checking foreign function calls ... OK
  • checking R code for possible problems ... [5s/13s] OK
  • checking Rd files ... [1s/1s] OK
  • checking Rd metadata ... OK
  • checking Rd cross-references ... OK
  • checking for missing documentation entries ... OK
  • checking for code/documentation mismatches ... OK
  • checking Rd \usage sections ... OK
  • checking Rd contents ... OK
  • checking for unstated dependencies in examples ... OK
  • checking examples ... [22s/74s] 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
  • checking for unstated dependencies in ‘tests’ ... OK
  • checking tests ... [153s/485s] ERROR   Running ‘testthat.R’ [153s/485s] 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
  • checking PDF version of manual ... [9s/13s] OK
  • DONE Status: 2 ERRORs
  • using check arguments '--no-clean-on-error '