Last updated on 2024-12-22 10:50:33 CET.
Package | ERROR | OK |
---|---|---|
PLindleyROC | 13 | |
ROCsurf | 1 | 12 |
Current CRAN status: OK: 13
Current CRAN status: ERROR: 1, OK: 12
Version: 0.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [76s/97s]
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/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(ROCsurf)
>
> test_check("ROCsurf")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 516 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('testfunction.R:3754:3'): function return a double or list ───────────
Error in `r.tc_index(x, y, z, init_param = c(alpha1 = alpha1, beta1 = beta1,
alpha2 = alpha2, beta2 = beta2, alpha3 = alpha3, beta3 = beta3),
init_index = c(median(x), median(y)), model = c("LLL"), method = c("MLE"))`: Optimization did not converge.Please check your initial parameters.
Backtrace:
▆
1. ├─testthat::expect_type(...) at testfunction.R:3754:3
2. │ └─testthat::quasi_label(enquo(object), arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─ROCsurf::r.tc_index(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 516 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc