CRAN Package Check Results for Package coro

Last updated on 2026-06-08 02:51:07 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.0 3.17 56.43 59.60 OK
r-devel-linux-x86_64-debian-gcc 1.1.0 2.52 38.40 40.92 ERROR
r-devel-linux-x86_64-fedora-clang 1.1.0 86.59 OK
r-devel-linux-x86_64-fedora-gcc 1.1.0 99.03 OK
r-devel-windows-x86_64 1.1.0 4.00 78.00 82.00 OK
r-patched-linux-x86_64 1.1.0 3.62 52.10 55.72 OK
r-release-linux-x86_64 1.1.0 3.23 51.98 55.21 OK
r-release-macos-arm64 1.1.0 1.00 21.00 22.00 OK
r-release-macos-x86_64 1.1.0 3.00 66.00 69.00 OK
r-release-windows-x86_64 1.1.0 6.00 78.00 84.00 OK
r-oldrel-macos-arm64 1.1.0 OK
r-oldrel-macos-x86_64 1.1.0 3.00 64.00 67.00 OK
r-oldrel-windows-x86_64 1.1.0 6.00 92.00 98.00 OK

Check Details

Version: 1.1.0
Check: dependencies in R code
Result: NOTE Fatal error: cannot create 'R_TempDir' Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [9s/11s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(coro) > > test_check("coro") Saving _problems/test-parser-155.R Saving _problems/test-parser-244.R Saving _problems/test-parser-248.R Saving _problems/test-parser-259.R Saving _problems/test-parser-283.R Saving _problems/test-parser-294.R [ FAIL 6 | WARN 16 | SKIP 6 | PASS 230 ] ══ Skipped tests (6) ═══════════════════════════════════════════════════════════ • On CRAN (6): 'test-async.R:25:1', 'test-generator.R:25:1', 'test-generator.R:31:1', 'test-generator.R:320:3', 'test-iterator.R:3:3', 'test-iterator.R:31:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-parser.R:143:3'): generators support if-else branches ────────── Error in `grDevices::pdf(new, ...)`: cannot open file '/tmp/RtmpsB6GSZ/verify_exec_39fb8110d85574' Backtrace: ▆ 1. └─coro:::expect_snapshot0(...) at test-parser.R:143:3 2. ├─rlang::inject(expect_snapshot(!!enquo0(expr), cran = cran)) at ./helper-flowery.R:3:3 3. └─testthat::expect_snapshot(...) 4. └─testthat:::expect_snapshot_(...) 5. ├─testthat:::with_is_snapshotting(...) 6. └─testthat:::verify_exec(quo_get_expr(x), quo_get_env(x), replay) 7. └─withr::local_pdf(device_path) 8. └─grDevices::pdf(new, ...) ── Error ('test-parser.R:234:3'): next and break within two layers of if-else ── Error in `file("", "w+b")`: cannot open the connection Backtrace: ▆ 1. └─coro:::expect_snapshot0(...) at test-parser.R:234:3 2. ├─rlang::inject(expect_snapshot(!!enquo0(expr), cran = cran)) at ./helper-flowery.R:3:3 3. └─testthat::expect_snapshot(...) 4. └─testthat:::expect_snapshot_(...) 5. ├─testthat:::with_is_snapshotting(...) 6. └─testthat:::verify_exec(quo_get_expr(x), quo_get_env(x), replay) 7. └─evaluate::evaluate(source, envir = env, new_device = FALSE, output_handler = handler) 8. └─evaluate:::watchout(...) 9. └─evaluate:::local_persistent_sink_connection(debug, frame) 10. └─base::file("", "w+b") ── Error ('test-parser.R:248:3'): handle for loops ───────────────────────────── Error in `file("", "w+b")`: cannot open the connection Backtrace: ▆ 1. └─coro:::expect_snapshot0(generator_body(function() for (x in 1:3) yield(x))) at test-parser.R:248:3 2. ├─rlang::inject(expect_snapshot(!!enquo0(expr), cran = cran)) at ./helper-flowery.R:3:3 3. └─testthat::expect_snapshot(...) 4. └─testthat:::expect_snapshot_(...) 5. ├─testthat:::with_is_snapshotting(...) 6. └─testthat:::verify_exec(quo_get_expr(x), quo_get_env(x), replay) 7. └─evaluate::evaluate(source, envir = env, new_device = FALSE, output_handler = handler) 8. └─evaluate:::watchout(...) 9. └─evaluate:::local_persistent_sink_connection(debug, frame) 10. └─base::file("", "w+b") ── Error ('test-parser.R:259:3'): handle yield-assign ────────────────────────── Error in `file("", "w+b")`: cannot open the connection Backtrace: ▆ 1. └─coro:::expect_snapshot0(generator_body(function(x) x <- yield(x))) at test-parser.R:259:3 2. ├─rlang::inject(expect_snapshot(!!enquo0(expr), cran = cran)) at ./helper-flowery.R:3:3 3. └─testthat::expect_snapshot(...) 4. └─testthat:::expect_snapshot_(...) 5. ├─testthat:::with_is_snapshotting(...) 6. └─testthat:::verify_exec(quo_get_expr(x), quo_get_env(x), replay) 7. └─evaluate::evaluate(source, envir = env, new_device = FALSE, output_handler = handler) 8. └─evaluate:::watchout(...) 9. └─evaluate:::local_persistent_sink_connection(debug, frame) 10. └─base::file("", "w+b") ── Error ('test-parser.R:283:3'): tryCatch() expressions are treated as normal expressions if possible ── Error in `file("", "w+b")`: cannot open the connection Backtrace: ▆ 1. └─coro:::expect_snapshot0(generator_body(function() tryCatch(foo()))) at test-parser.R:283:3 2. ├─rlang::inject(expect_snapshot(!!enquo0(expr), cran = cran)) at ./helper-flowery.R:3:3 3. └─testthat::expect_snapshot(...) 4. └─testthat:::expect_snapshot_(...) 5. ├─testthat:::with_is_snapshotting(...) 6. └─testthat:::verify_exec(quo_get_expr(x), quo_get_env(x), replay) 7. └─evaluate::evaluate(source, envir = env, new_device = FALSE, output_handler = handler) 8. └─evaluate:::watchout(...) 9. └─evaluate:::local_persistent_sink_connection(debug, frame) 10. └─base::file("", "w+b") ── Error ('test-parser.R:287:3'): tryCatch() expressions are parsed ──────────── Error in `grDevices::pdf(new, ...)`: cannot open file '/tmp/RtmpsB6GSZ/verify_exec_39fb81138ccb72' Backtrace: ▆ 1. └─coro:::expect_snapshot0(...) at test-parser.R:287:3 2. ├─rlang::inject(expect_snapshot(!!enquo0(expr), cran = cran)) at ./helper-flowery.R:3:3 3. └─testthat::expect_snapshot(...) 4. └─testthat:::expect_snapshot_(...) 5. ├─testthat:::with_is_snapshotting(...) 6. └─testthat:::verify_exec(quo_get_expr(x), quo_get_env(x), replay) 7. └─withr::local_pdf(device_path) 8. └─grDevices::pdf(new, ...) [ FAIL 6 | WARN 16 | SKIP 6 | PASS 230 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc