CRAN Package Check Results for Package greatR

Last updated on 2024-06-10 19:53:21 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.0 3.86 73.95 77.81 OK
r-devel-linux-x86_64-debian-gcc 2.0.0 3.49 54.68 58.17 OK
r-devel-linux-x86_64-fedora-clang 2.0.0 101.61 OK
r-devel-linux-x86_64-fedora-gcc 2.0.0 106.48 OK
r-devel-windows-x86_64 2.0.0 6.00 73.00 79.00 ERROR
r-patched-linux-x86_64 2.0.0 4.36 71.23 75.59 OK
r-release-linux-x86_64 2.0.0 2.90 68.58 71.48 OK
r-release-macos-arm64 2.0.0 41.00 OK
r-release-macos-x86_64 2.0.0 68.00 OK
r-release-windows-x86_64 2.0.0 6.00 73.00 79.00 OK
r-oldrel-macos-arm64 2.0.0 47.00 OK
r-oldrel-macos-x86_64 2.0.0 60.00 OK
r-oldrel-windows-x86_64 2.0.0 6.00 85.00 91.00 OK

Check Details

Version: 2.0.0
Check: tests
Result: ERROR Running 'testthat.R' [7s] 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 ⠙ | 2 | optimisation ⠸ | 4 | optimisation ⠦ | 1 6 | optimisation ✖ | 1 6 | optimisation [1.5s] ──────────────────────────────────────────────────────────────────────────────── 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.1 -19.0 `expected`: 2.7 -7.7 -19.5 ──────────────────────────────────────────────────────────────────────────────── ⠏ | 0 | registration ⠸ | 4 | registration ⠧ | 8 | registration ⠸ | 14 | registration ⠋ | 21 | registration ⠏ | 30 | registration ⠴ | 36 | registration ⠦ | 37 | registration ⠼ | 45 | registration ✔ | 45 | registration [1.9s] ⠏ | 0 | results ⠦ | 7 | results ⠴ | 16 | results ⠹ | 23 | results ⠸ | 24 | results ⠸ | 34 | results ✔ | 39 | results [1.1s] ⠏ | 0 | utils-calcs ⠇ | 9 | utils-calcs ✔ | 14 | utils-calcs ⠏ | 0 | utils ⠋ | 1 | utils ⠧ | 8 | utils ⠏ | 20 | utils ⠦ | 27 | utils ⠋ | 41 | utils ⠸ | 44 | utils ✔ | 48 | utils [1.1s] ══ Results ═════════════════════════════════════════════════════════════════════ Duration: 6.4 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.1 -19.0 `expected`: 2.7 -7.7 -19.5 [ FAIL 1 | WARN 0 | SKIP 0 | PASS 158 ] Error: Failures detected. Execution halted Flavor: r-devel-windows-x86_64