R Under development (unstable) (2025-12-10 r89137 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # 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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(simFastBOIN) > > test_check("simFastBOIN") ======================================== BOIN Simulation Trials: 10 | Target: 30 % | Doses: 5 ======================================== Step 1: Generating patient enrollment and toxicity data... Completed. Step 2: Applying isotonic regression... Completed. Step 3: Selecting MTD for each trial... Completed. Step 4: Computing operating characteristics... Completed. ======================================== Simulation Summary ======================================== | Metric| DL1| DL2| DL3| DL4| DL5|Total/No MTD| ---------------------------------------------------------------------------------- | True Tox (%)| 10.0| 25.0| 40.0| 55.0| 70.0| | | MTD Sel (%)| 0.0| 80.0| 20.0| 0.0| 0.0| 0.0| | Avg Pts| 5.7| 15.0| 7.5| 0.9| 0.0| 29.1| | Avg DLTs| 0.2| 3.1| 3.3| 0.6| 0.0| 7.2| ---------------------------------------------------------------------------------- ======================================== BOIN Multi-Scenario Simulation Number of scenarios: 1 Trials per scenario: 10 Number of doses: 5 ======================================== Processing Test Scenario ( 1 of 1 )... ======================================== BOIN Simulation Trials: 10 | Target: 30 % | Doses: 5 ======================================== Step 1: Generating patient enrollment and toxicity data... Completed. Step 2: Applying isotonic regression... Completed. Step 3: Selecting MTD for each trial... Completed. Step 4: Computing operating characteristics... Completed. ======================================== Simulation Summary ======================================== | Metric| DL1| DL2| DL3| DL4| DL5|Total/No MTD| ---------------------------------------------------------------------------------- | True Tox (%)| 10.0| 25.0| 40.0| 55.0| 70.0| | | MTD Sel (%)| 20.0| 70.0| 10.0| 0.0| 0.0| 0.0| | Avg Pts| 8.7| 13.5| 4.8| 0.0| 0.0| 27.0| | Avg DLTs| 0.6| 3.7| 2.2| 0.0| 0.0| 6.5| ---------------------------------------------------------------------------------- Aggregating results into summary table... Completed. ======================================== Multi-Scenario Summary ======================================== Scenario Item DL1 DL2 DL3 DL4 DL5 Total/No MTD Test Scenario True Tox (%) 10 25 40 55 70 MTD Sel (%) 20 70 10 0 0 0 Avg Pts 8.7 13.5 4.8 0 0 27 Avg DLTs 0.6 3.7 2.2 0 0 6.5 [ FAIL 0 | WARN 0 | SKIP 0 | PASS 162 ] > > proc.time() user system elapsed 1.73 0.35 2.07