CRAN Package Check Results for Package optimizeR

Last updated on 2024-06-07 00:54:04 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.0 16.40 121.12 137.52 OK
r-devel-linux-x86_64-debian-gcc 1.1.0 12.27 88.86 101.13 ERROR
r-devel-linux-x86_64-fedora-clang 1.1.0 177.59 OK
r-devel-linux-x86_64-fedora-gcc 1.1.0 155.85 OK
r-devel-windows-x86_64 1.1.0 15.00 101.00 116.00 OK
r-patched-linux-x86_64 1.1.0 9.51 115.03 124.54 OK
r-release-linux-x86_64 1.1.0 13.93 110.60 124.53 OK
r-release-macos-arm64 1.1.0 61.00 OK
r-release-macos-x86_64 1.1.0 79.00 OK
r-release-windows-x86_64 1.1.0 14.00 105.00 119.00 OK
r-oldrel-macos-arm64 1.1.0 63.00 OK
r-oldrel-macos-x86_64 1.1.0 142.00 OK
r-oldrel-windows-x86_64 1.1.0 17.00 124.00 141.00 OK

Check Details

Version: 1.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [5s/19s] 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(optimizeR) > > test_check("optimizeR") [ FAIL 1 | WARN 0 | SKIP 4 | PASS 47 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • .Platform$OS.type == "windows" is not TRUE (1): 'test-optimizer.R:59:3' • On CRAN (3): 'test-legacy.R:184:3', 'test-objective.R:34:3', 'test-objective.R:58:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-legacy.R:88:3'): optimizier validation works ─────────────────── Error: x Optimizer test run failed. * Message: Error in setTimeLimit(cpu = Inf, elapsed = Inf, transient = FALSE) : reached elapsed time limit Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-legacy.R:88:3 2. │ └─testthat:::expect_condition_matching(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─optimizeR::define_optimizer(...) 8. └─optimizeR:::validate_optimizer(...) 9. └─cli::cli_abort(...) 10. └─rlang::abort(...) [ FAIL 1 | WARN 0 | SKIP 4 | PASS 47 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc