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.329 0.036 5.369 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 3 | WARN 0 | SKIP 1 | PASS 75 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • compare_scenarios_gt function not yet implemented (1): 'test-gt-integration.R:88:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-boinet.R:101:3'): Check boinet simulation results ──────────── `n.patient` (`actual`) not identical to `n.patient.exp` (`expected`). actual vs expected [,1] [,2] [,3] [,4] [,5] [,6] actual[1, ] 3.1 3.2 3.5 3.9 8.3 14.1 - actual[2, ] 3.0 3.1 3.3 4.7 8.0 14.0 + expected[2, ] 3.0 3.1 3.4 4.8 8.1 13.7 actual[3, ] 3.1 3.3 3.8 4.7 9.2 12.0 actual[4, ] 3.0 3.3 3.9 4.6 8.6 12.5 ── Failure ('test-boinet.R:102: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 ── Failure ('test-boinet.R:104:3'): Check boinet simulation results ──────────── `duration` (`actual`) not identical to `duration.exp` (`expected`). `actual`: 965.8 959.5 611.2 559.0 `expected`: 965.8 961.3 611.2 559.0 [ FAIL 3 | WARN 0 | SKIP 1 | PASS 75 ] Error: Test failures Execution halted