CRAN Package Check Results for Package jobqueue

Last updated on 2025-02-21 09:50:47 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3.1 5.04 48.88 53.92 OK
r-devel-linux-x86_64-debian-gcc 1.3.1 3.56 36.48 40.04 OK
r-devel-linux-x86_64-fedora-clang 1.3.1 86.43 OK
r-devel-linux-x86_64-fedora-gcc 1.3.1 108.90 ERROR
r-devel-macos-arm64 1.0.1 53.00 OK
r-devel-macos-x86_64 1.3.1 129.00 OK
r-devel-windows-x86_64 1.3.1 9.00 92.00 101.00 OK
r-patched-linux-x86_64 1.3.1 5.93 46.94 52.87 OK
r-release-linux-x86_64 1.3.1 5.73 46.53 52.26 OK
r-release-macos-arm64 1.0.1 59.00 OK
r-release-macos-x86_64 1.3.1 138.00 OK
r-release-windows-x86_64 1.3.1 7.00 87.00 94.00 OK
r-oldrel-macos-x86_64 1.3.1 79.00 OK
r-oldrel-windows-x86_64 1.3.1 7.00 98.00 105.00 OK

Check Details

Version: 1.3.1
Check: tests
Result: ERROR Running ‘testthat.r’ [11s/105s] 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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(jobqueue) > > test_check("jobqueue") [ FAIL 8 | WARN 0 | SKIP 0 | PASS 122 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-queue.r:13:3'): basic ──────────────────────────────────────── job$result (`actual`) not equal to 4 (`expected`). `actual` is an S3 object of class <interrupt/condition>, a list `expected` is a double vector (4) ── Failure ('test-queue.r:18:3'): basic ──────────────────────────────────────── job$result (`actual`) not equal to 8 (`expected`). `actual` is an S3 object of class <timeout/interrupt/condition>, a list `expected` is a double vector (8) ── Failure ('test-queue.r:21:3'): basic ──────────────────────────────────────── q$state (`actual`) not equal to "idle" (`expected`). `actual`: "error" `expected`: "idle" ── Failure ('test-queue.r:22:3'): basic ──────────────────────────────────────── length(q$workers) (`actual`) not equal to 1L (`expected`). `actual`: 0 `expected`: 1 ── Failure ('test-queue.r:115:3'): max_cpus ──────────────────────────────────── map(q$jobs, "state") (`actual`) not equal to c(rep("running", 2), rep("queued", 2)) (`expected`). `actual`: "queued" `expected`: "running" "running" "queued" "queued" ── Failure ('test-queue.r:116:3'): max_cpus ──────────────────────────────────── map(q$workers, "state") (`actual`) not equal to c("busy", "busy", "idle") (`expected`). `actual` is NULL `expected` is a character vector ('busy', 'busy', 'idle') ── Error ('test-queue.r:125:3'): interrupt ───────────────────────────────────── Error in `q_initialize(self, private, globals, packages, init, max_cpus, workers, timeout, hooks, reformat, signal, cpus, stop_id, copy_id, wait)`: Unable to start Queue Backtrace: ▆ 1. ├─testthat::expect_silent(...) at test-queue.r:125:3 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. └─Queue$new(workers = 1L, timeout = 10, wait = 120) 10. └─jobqueue (local) initialize(...) 11. └─jobqueue:::q_initialize(...) 12. └─cli::cli_abort("Unable to start Queue") 13. └─rlang::abort(...) ── Error ('test-worker.r:28:3'): worker ──────────────────────────────────────── Error in `w_run(self, private, job)`: Worker not idle Backtrace: ▆ 1. ├─testthat::expect_silent(...) at test-worker.r:28:3 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. └─w$run(...) 10. └─jobqueue:::w_run(self, private, job) 11. └─cli::cli_abort("Worker not idle") 12. └─rlang::abort(...) [ FAIL 8 | WARN 0 | SKIP 0 | PASS 122 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc