CRAN Package Check Results for Package greatR

Last updated on 2026-06-09 15:49:38 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.1.0 3.56 62.66 66.22 OK
r-devel-linux-x86_64-debian-gcc 2.1.0 2.51 46.72 49.23 OK
r-devel-linux-x86_64-fedora-clang 2.1.0 105.97 OK
r-devel-linux-x86_64-fedora-gcc 2.1.0 114.46 OK
r-devel-windows-x86_64 2.1.0 6.00 75.00 81.00 OK
r-patched-linux-x86_64 2.1.0 2.67 58.10 60.77 OK
r-release-linux-x86_64 2.1.0 3.07 58.01 61.08 OK
r-release-macos-arm64 2.1.0 1.00 26.00 27.00 OK
r-release-macos-x86_64 2.1.0 3.00 125.00 128.00 OK
r-release-windows-x86_64 2.1.0 6.00 77.00 83.00 ERROR
r-oldrel-macos-arm64 2.1.0 1.00 23.00 24.00 OK
r-oldrel-macos-x86_64 2.1.0 2.00 133.00 135.00 OK
r-oldrel-windows-x86_64 2.1.0 8.00 93.00 101.00 OK

Check Details

Version: 2.1.0
Check: tests
Result: ERROR Running 'testthat.R' [8s] 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 ⠼ | 5 | dynamics ✔ | 6 | dynamics ⠏ | 0 | optimisation ⠹ | 3 | optimisation ⠸ | 4 | optimisation ⠦ | 1 6 | optimisation ✖ | 1 6 | optimisation [1.6s] ──────────────────────────────────────────────────────────────────────────────── Failure ('test-optimisation.R:23:3'): optimise works Expected `unname(unlist(results_sa))` to equal `c(2.67, -7.67, -19.51)`. Differences: `actual`: 2.90 -10.05 -18.96 `expected`: 2.67 -7.67 -19.51 ──────────────────────────────────────────────────────────────────────────────── ⠏ | 0 | registration ⠦ | 7 | registration ⠧ | 8 | registration ⠹ | 13 | registration ⠸ | 14 | registration ⠋ | 21 | registration ⠏ | 30 | registration ⠴ | 36 | registration ⠦ | 37 | registration ⠼ | 45 | registration ✔ | 45 | registration [2.1s] ⠏ | 0 | results ⠦ | 7 | results ⠴ | 16 | results ⠙ | 22 | results ⠸ | 24 | results ⠸ | 34 | results ✔ | 39 | results [1.7s] ⠏ | 0 | utils-calcs ⠇ | 9 | utils-calcs ✔ | 14 | utils-calcs ⠏ | 0 | utils ⠋ | 1 | utils ⠼ | 5 | utils ⠴ | 16 | utils ⠦ | 27 | utils ⠙ | 42 | utils ⠸ | 44 | utils ✔ | 48 | utils [1.1s] ══ Results ═════════════════════════════════════════════════════════════════════ Duration: 7.1 s ── Failed tests ──────────────────────────────────────────────────────────────── Failure ('test-optimisation.R:23:3'): optimise works Expected `unname(unlist(results_sa))` to equal `c(2.67, -7.67, -19.51)`. Differences: `actual`: 2.90 -10.05 -18.96 `expected`: 2.67 -7.67 -19.51 [ FAIL 1 | WARN 0 | SKIP 0 | PASS 158 ] Error in `x$end_reporter()`: ! Failures detected. Backtrace: ▆ 1. └─testthat::test_check(...) 2. └─testthat::test_dir(...) 3. └─testthat:::test_files(...) 4. └─testthat:::test_files_serial(...) 5. └─testthat::with_reporter(...) 6. └─reporter$end_reporter() 7. └─testthat:::o_apply(self$reporters, "end_reporter") 8. └─base::lapply(objects, f) 9. └─testthat (local) FUN(X[[i]], ...) 10. └─x$end_reporter(...) 11. └─testthat:::o_apply(self$reporters, "end_reporter") 12. └─base::lapply(objects, f) 13. └─testthat (local) FUN(X[[i]], ...) 14. └─x$end_reporter(...) 15. └─cli::cli_abort("Failures detected.") 16. └─rlang::abort(...) Execution halted Flavor: r-release-windows-x86_64