- using R Under development (unstable) (2025-02-14 r87716)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
GNU Fortran (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
- running under: Fedora Linux 40 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘adoptr/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘adoptr’ version ‘1.1.1’
- 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 ‘adoptr’ can be installed ... [13s/16s] OK
See the install log for details.
- checking package directory ... OK
- checking ‘build’ 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 ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... 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 ... [14s/17s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [52s/71s] 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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [65s/83s] OK
- checking PDF version of manual ... [10s/12s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR