CRAN Package Check Results for Package adoptr

Last updated on 2025-02-23 15:49:36 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.1 6.73 286.58 293.31 OK
r-devel-linux-x86_64-debian-gcc 1.1.1 5.63 162.52 168.15 OK
r-devel-linux-x86_64-fedora-clang 1.1.1 180.22 ERROR
r-devel-linux-x86_64-fedora-gcc 1.1.1 193.24 ERROR
r-devel-macos-arm64 1.1.1 109.00 OK
r-devel-macos-x86_64 1.1.1 359.00 OK
r-devel-windows-x86_64 1.1.1 9.00 241.00 250.00 OK
r-patched-linux-x86_64 1.1.1 6.47 269.43 275.90 OK
r-release-linux-x86_64 1.1.1 6.01 269.88 275.89 OK
r-release-macos-arm64 1.1.1 132.00 OK
r-release-macos-x86_64 1.1.1 288.00 OK
r-release-windows-x86_64 1.1.1 8.00 238.00 246.00 OK
r-oldrel-macos-arm64 1.1.1 125.00 OK
r-oldrel-macos-x86_64 1.1.1 260.00 OK
r-oldrel-windows-x86_64 1.1.1 7.00 342.00 349.00 OK

Check Details

Version: 1.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [53s/81s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(adoptr) Attaching package: 'adoptr' The following object is masked from 'package:testthat': expectation > > test_check("adoptr") Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. [ FAIL 10 | WARN 6 | SKIP 0 | PASS 384 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_OneStageDesign.R:64:5'): Optimal one-stage design with point prior is computable ── round(evaluate(pow, d2), 1) not equal to 0.8. 1/1 mismatches [1] 0.9 - 0.8 == 0.1 ── Failure ('test_OneStageDesign.R:69:5'): Optimal one-stage design with point prior is computable ── round(evaluate(toer, d2), 2) not equal to 0.05. 1/1 mismatches [1] 0.02 - 0.05 == -0.03 ── Failure ('test_OneStageDesign.R:74:5'): Optimal one-stage design with point prior is computable ── sign(evaluate(ess, d2) - 40) == -1 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test_StudentDistribution.R:128:3'): Published results are reproducible ── ceiling(osd1@n1) not equal to 18/2. 1/1 mismatches [1] 20 - 9 == 11 ── Failure ('test_StudentDistribution.R:133:3'): Published results are reproducible ── ceiling(osd2@n1) not equal to 34/2. 1/1 mismatches [1] 20 - 17 == 3 ── Failure ('test_StudentDistribution.R:138:3'): Published results are reproducible ── ceiling(osd3@n1) not equal to 128/2. 1/1 mismatches [1] 20 - 64 == -44 ── Failure ('test_minimize.R:59:5'): nloptr maxiter warning correctly passed ─── `minimize(...)` did not produce any warnings. ── Failure ('test_minimize.R:228:5'): base-case results are consistent - no post processing ── evaluate(ess, opt_ts$design) is not strictly less than evaluate(ess, opt_gs$design). Difference: 0.229 ── Failure ('test_minimize.R:249:5'): base-case results are consistent - no post processing ── mean(sim_null$n2 + sim_null$n1) not equal to evaluate(ess_0, opt_ts$design). 1/1 mismatches [1] 38.3 - 38.2 == 0.029 ── Failure ('test_minimize.R:305:5'): conditional constraints work ───────────── evaluate(cp, opt_ts$design, opt_ts$design@c1f) is not more than 0.75 - tol. Difference: -0.109 [ FAIL 10 | WARN 6 | SKIP 0 | PASS 384 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [52s/70s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(adoptr) Attaching package: 'adoptr' The following object is masked from 'package:testthat': expectation > > test_check("adoptr") Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS. [ FAIL 10 | WARN 6 | SKIP 0 | PASS 384 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_OneStageDesign.R:64:5'): Optimal one-stage design with point prior is computable ── round(evaluate(pow, d2), 1) not equal to 0.8. 1/1 mismatches [1] 0.9 - 0.8 == 0.1 ── Failure ('test_OneStageDesign.R:69:5'): Optimal one-stage design with point prior is computable ── round(evaluate(toer, d2), 2) not equal to 0.05. 1/1 mismatches [1] 0.02 - 0.05 == -0.03 ── Failure ('test_OneStageDesign.R:74:5'): Optimal one-stage design with point prior is computable ── sign(evaluate(ess, d2) - 40) == -1 is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test_StudentDistribution.R:128:3'): Published results are reproducible ── ceiling(osd1@n1) not equal to 18/2. 1/1 mismatches [1] 20 - 9 == 11 ── Failure ('test_StudentDistribution.R:133:3'): Published results are reproducible ── ceiling(osd2@n1) not equal to 34/2. 1/1 mismatches [1] 20 - 17 == 3 ── Failure ('test_StudentDistribution.R:138:3'): Published results are reproducible ── ceiling(osd3@n1) not equal to 128/2. 1/1 mismatches [1] 20 - 64 == -44 ── Failure ('test_minimize.R:59:5'): nloptr maxiter warning correctly passed ─── `minimize(...)` did not produce any warnings. ── Failure ('test_minimize.R:228:5'): base-case results are consistent - no post processing ── evaluate(ess, opt_ts$design) is not strictly less than evaluate(ess, opt_gs$design). Difference: 0.229 ── Failure ('test_minimize.R:249:5'): base-case results are consistent - no post processing ── mean(sim_null$n2 + sim_null$n1) not equal to evaluate(ess_0, opt_ts$design). 1/1 mismatches [1] 38.3 - 38.2 == 0.029 ── Failure ('test_minimize.R:305:5'): conditional constraints work ───────────── evaluate(cp, opt_ts$design, opt_ts$design@c1f) is not more than 0.75 - tol. Difference: -0.109 [ FAIL 10 | WARN 6 | SKIP 0 | PASS 384 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.