CRAN Package Check Results for Package coro

Last updated on 2025-12-06 00:48:36 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.0 3.42 55.36 58.78 OK
r-devel-linux-x86_64-debian-gcc 1.1.0 2.60 31.85 34.45 ERROR
r-devel-linux-x86_64-fedora-clang 1.1.0 13.00 77.82 90.82 OK
r-devel-linux-x86_64-fedora-gcc 1.1.0 95.68 OK
r-devel-windows-x86_64 1.1.0 7.00 74.00 81.00 OK
r-patched-linux-x86_64 1.1.0 3.60 50.84 54.44 OK
r-release-linux-x86_64 1.1.0 2.81 51.68 54.49 OK
r-release-macos-arm64 1.1.0 OK
r-release-macos-x86_64 1.1.0 3.00 64.00 67.00 OK
r-release-windows-x86_64 1.1.0 5.00 73.00 78.00 OK
r-oldrel-macos-arm64 1.1.0 OK
r-oldrel-macos-x86_64 1.1.0 3.00 105.00 108.00 OK
r-oldrel-windows-x86_64 1.1.0 6.00 86.00 92.00 OK

Check Details

Version: 1.1.0
Check: package dependencies
Result: WARN Cannot process vignettes Packages suggested but not available for checking: 'knitr', 'later', 'promises', 'reticulate', 'rmarkdown' VignetteBuilder package required for checking but not installed: ‘knitr’ Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [6s/6s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(coro) > > test_check("coro") Saving _problems/test-async-18.R [ FAIL 1 | WARN 0 | SKIP 7 | PASS 235 ] ══ Skipped tests (7) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test-async.R:25:1', 'test-generator.R:25:1', 'test-generator.R:31:1', 'test-generator.R:320:3' • {later} is not installed. (1): 'test-step-reduce.R:112:3' • {reticulate} is not installed (2): 'test-iterator.R:2:3', 'test-iterator.R:30:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-async.R:18:3'): await() can't be called directly or out of place ── Error in `eval(quote({ generator_env <- environment()$generator_env caller_env <- environment()$caller_env exits <- NULL exited <- NULL cleanup <- NULL close_active_iterators <- NULL info <- machine_info(type, env = caller_env) if (is_null(state_machine)) { state_machine <<- walk_states(body(fn), info = info) } ops <- info$async_ops if (!is_null(ops) && !is_installed(ops$package)) { abort(sprintf("The %s package must be installed.", ops$package)) } env <- new_generator_env(env, info) user_env <- env$user_env weak_env <- new_weakref(env) lapply(names(fmls), function(arg) env_bind_arg(user_env, arg, frame = generator_env)) undebugged <- FALSE close_active_iterators <- function() { for (iter in rev(env$iterators)) { if (!is_null(iter)) { iter_close(iter) } } } env$close_active_iterators <- close_active_iterators env$cleanup <- function() { env$close_active_iterators() env$exits <- NULL } instance <- inject(function(arg, close = FALSE) { delayedAssign("arg", arg, assign.env = env) delayedAssign("close", close, assign.env = env) if (!undebugged && (debugged || is_true(peek_option("coro_debug")))) { env_browse(user_env) defer({ if (!env_is_browsed(user_env)) { undebugged <<- TRUE } }) } if (is_true(env$exhausted)) { return(exhausted()) } if (close) { env$exhausted <- TRUE close_active_iterators() evalq(envir = user_env, base::evalq(envir = rlang::wref_key(!!weak_env), { env_poke_exits(user_env, exits) })) return(exhausted()) } if (is_true(env$jumped)) { if (!missing(arg)) { force(arg) } abort("This function has been disabled because of an unexpected exit.") } env$jumped <- TRUE env$exited <- TRUE out <- evalq(envir = user_env, { base::evalq(envir = rlang::wref_key(!!weak_env), { defer(if (exited) cleanup()) env_poke_exits(user_env, exits) !!state_machine }) }) env$jumped <- FALSE out }) env$.self <- instance if (is_string(type, "async")) { invisible(instance(NULL)) } else { structure(instance, class = "coro_generator_instance") } }), `_private`)`: The promises package must be installed. Backtrace: ▆ 1. ├─testthat::expect_error(f(), "within function arguments") at test-async.R:18: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. └─coro (local) f() 8. ├─base::local(...) 9. │ └─base::eval.parent(substitute(eval(quote(expr), envir))) 10. │ └─base::eval(expr, p) 11. │ └─base::eval(expr, p) 12. └─base::eval(...) 13. └─base::eval(...) 14. └─rlang::abort(sprintf("The %s package must be installed.", ops$package)) [ FAIL 1 | WARN 0 | SKIP 7 | PASS 235 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.1.0
Check: package vignettes
Result: NOTE Package has ‘vignettes’ subdirectory but apparently no vignettes. Perhaps the ‘VignetteBuilder’ information is missing from the DESCRIPTION file? Flavor: r-devel-linux-x86_64-debian-gcc