Last updated on 2024-05-09 10:50:38 CEST.
Package | ERROR | OK |
---|---|---|
deepredeff | 13 | |
greatR | 1 | 12 |
Current CRAN status: OK: 13
Current CRAN status: ERROR: 1, OK: 12
Version: 2.0.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [11s/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(greatR)
> data.table::setDTthreads(2) # Only needed to avoid issues on CRAN
>
> test_check("greatR", reporter = c("progress", "list", "fail"))
✔ | F W S OK | Context
⠏ | 0 | dynamics
⠋ | 1 | dynamics
⠸ | 4 | dynamics
✔ | 6 | dynamics
⠏ | 0 | optimisation
⠋ | 1 | optimisation
⠸ | 4 | optimisation
⠦ | 1 6 | optimisation
✖ | 1 6 | optimisation [3.1s]
────────────────────────────────────────────────────────────────────────────────
Failure ('test-optimisation.R:23:3'): optimise works
unname(unlist(results_sa)) (`actual`) not equal to c(2.67, -7.67, -19.51) (`expected`).
`actual`: 2.9 -10.4 -19.0
`expected`: 2.7 -7.7 -19.5
────────────────────────────────────────────────────────────────────────────────
⠏ | 0 | registration
⠸ | 4 | registration
⠧ | 8 | registration
⠇ | 9 | registration
⠸ | 14 | registration
⠋ | 21 | registration
⠏ | 30 | registration
⠴ | 36 | registration
⠦ | 37 | registration
⠼ | 45 | registration
✔ | 45 | registration [3.1s]
⠏ | 0 | results
⠼ | 5 | results
⠦ | 7 | results
⠴ | 16 | results
⠹ | 23 | results
⠸ | 24 | results
⠏ | 30 | results
⠸ | 34 | results
✔ | 39 | results [1.8s]
⠏ | 0 | utils-calcs
⠇ | 9 | utils-calcs
✔ | 14 | utils-calcs
⠏ | 0 | utils
⠋ | 1 | utils
⠙ | 2 | utils
⠧ | 8 | utils
⠙ | 12 | utils
⠙ | 22 | utils
⠦ | 27 | utils
⠧ | 38 | utils
⠸ | 44 | utils
✔ | 48 | utils [2.0s]
══ Results ═════════════════════════════════════════════════════════════════════
Duration: 11.1 s
── Failed tests ────────────────────────────────────────────────────────────────
Failure ('test-optimisation.R:23:3'): optimise works
unname(unlist(results_sa)) (`actual`) not equal to c(2.67, -7.67, -19.51) (`expected`).
`actual`: 2.9 -10.4 -19.0
`expected`: 2.7 -7.7 -19.5
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 158 ]
Error: Failures detected.
Execution halted
Flavor: r-patched-linux-x86_64