CRAN Package Check Results for Package greatR

Last updated on 2024-12-23 12:49:16 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.0 3.72 54.62 58.34 ERROR
r-devel-linux-x86_64-debian-gcc 2.0.0 2.40 42.38 44.78 OK
r-devel-linux-x86_64-fedora-clang 2.0.0 102.33 OK
r-devel-linux-x86_64-fedora-gcc 2.0.0 106.17 OK
r-devel-windows-x86_64 2.0.0 5.00 73.00 78.00 OK
r-patched-linux-x86_64 2.0.0 3.74 53.80 57.54 OK
r-release-linux-x86_64 2.0.0 3.42 53.42 56.84 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 5.00 72.00 77.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 80.00 86.00 OK

Check Details

Version: 2.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [9s/11s] 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 ⠙ | 2 | dynamics ✔ | 4 | dynamics ⠏ | 0 | optimisation ⠋ | 1 | optimisation ⠸ | 4 | optimisation ⠦ | 1 6 | optimisation ✖ | 1 6 | optimisation [2.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.90 -10.45 -19.00 `expected`: 2.67 -7.67 -19.51 ──────────────────────────────────────────────────────────────────────────────── ⠏ | 0 | registration ⠧ | 8 | registration ⠹ | 13 | registration ⠸ | 14 | registration ⠋ | 21 | registration ⠇ | 29 | registration ⠏ | 30 | registration ⠴ | 36 | registration ⠦ | 37 | registration ⠼ | 45 | registration ✔ | 45 | registration [2.9s] ⠏ | 0 | results ⠴ | 6 | results ⠦ | 7 | results ⠴ | 16 | results ⠙ | 22 | results ⠹ | 23 | results ⠹ | 33 | results ✔ | 38 | results [1.8s] ⠏ | 0 | utils-calcs ⠇ | 9 | utils-calcs ✔ | 14 | utils-calcs ⠏ | 0 | utils ⠋ | 1 | utils ⠴ | 6 | utils ⠇ | 9 | utils ⠇ | 19 | utils ⠴ | 26 | utils ⠧ | 38 | utils ⠹ | 43 | utils ⠦ | 47 | utils ✔ | 47 | utils [2.0s] ══ Results ═════════════════════════════════════════════════════════════════════ Duration: 10.2 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.90 -10.45 -19.00 `expected`: 2.67 -7.67 -19.51 [ FAIL 1 | WARN 0 | SKIP 0 | PASS 154 ] Error: Failures detected. Execution halted Flavor: r-devel-linux-x86_64-debian-clang