Package check result: ERROR Check: CRAN incoming feasibility, Result: NOTE Maintainer: ‘Yusuke Yamaguchi ’ Days since last update: 2 Check: examples, Result: NOTE Examples with CPU (user + system) or elapsed time > 5s user system elapsed tite.gboinet 5.479 0.072 5.553 boinet 4.920 0.096 5.018 Check: tests, Result: ERROR Running ‘testthat.R’ [12s/12s] 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(boinet) > > test_check("boinet") BOIN-ET Design Operating Characteristics ========================================= Design Parameters: Target Toxicity Probability: 0.30 Target Efficacy Probability: 0.60 Trial Duration: 100.0 days Early Stop Probability: 5.0% Operating Characteristics by Dose Level: # A tibble: 2 x 6 dose_level toxicity_prob efficacy_prob n_patients selection_prob selection_pct 1 1 0.1 0.2 5 0.4 40% 2 2 0.2 0.4 8 0.6 60% TITE-BOIN-ET Design Operating Characteristics ========================================= Design Parameters: Target Toxicity Probability: 0.30 Target Efficacy Probability: 0.60 Trial Duration: 100.0 days Early Stop Probability: 5.0% Operating Characteristics by Dose Level: # A tibble: 2 x 6 dose_level toxicity_prob efficacy_prob n_patients selection_prob selection_pct 1 1 0.1 0.2 5 0.4 40% 2 2 0.2 0.4 8 0.6 60% gBOIN-ET Design Operating Characteristics ========================================= Design Parameters: Target Toxicity Probability: 0.30 Target Efficacy Probability: 0.60 Trial Duration: 100.0 days Early Stop Probability: 5.0% Operating Characteristics by Dose Level: # A tibble: 2 x 6 dose_level toxicity_prob efficacy_prob n_patients selection_prob selection_pct 1 1 0.1 0.2 5 0.4 40% 2 2 0.2 0.4 8 0.6 60% TITE-gBOIN-ET Design Operating Characteristics ========================================= Design Parameters: Target Toxicity Probability: 0.30 Target Efficacy Probability: 0.60 Trial Duration: 100.0 days Early Stop Probability: 5.0% Operating Characteristics by Dose Level: # A tibble: 2 x 6 dose_level toxicity_prob efficacy_prob n_patients selection_prob selection_pct 1 1 0.1 0.2 5 0.4 40% 2 2 0.2 0.4 8 0.6 60% [ FAIL 1 | WARN 0 | SKIP 1 | PASS 77 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • compare_scenarios_gt function not yet implemented (1): 'test-gt-integration.R:88:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-boinet.R:106:3'): Check boinet simulation results ──────────── `prop.select` (`actual`) not identical to `prop.select.exp` (`expected`). actual vs expected [,1] [,2] [,3] [,4] [,5] [,6] actual[1, ] 1 3 3 1 17 75 - actual[2, ] 0 1 2 4 15 78 + expected[2, ] 1 1 2 5 15 76 actual[3, ] 3 0 4 4 16 73 actual[4, ] 1 2 3 6 25 63 [ FAIL 1 | WARN 0 | SKIP 1 | PASS 77 ] Error: Test failures Execution halted