CRAN Package Check Results for Package vitals

Last updated on 2026-11-11 00:53:36 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.0 7.03 107.24 114.27 ERROR
r-devel-linux-x86_64-debian-gcc 0.4.1 5.93 87.43 93.36 OK
r-devel-linux-x86_64-fedora-clang 0.4.1 6.00 88.39 94.39 OK
r-devel-linux-x86_64-fedora-gcc 0.4.1 6.00 85.48 91.48 OK
r-devel-windows-x86_64 0.4.0 12.00 112.00 124.00 OK
r-patched-linux-x86_64 0.4.0 OK
r-release-linux-x86_64 0.4.0 5.83 104.79 110.62 OK
r-release-macos-arm64 0.4.1 2.00 35.00 37.00 OK
r-release-macos-x86_64 0.4.0 6.00 76.00 82.00 OK
r-release-windows-x86_64 0.4.0 12.00 97.00 109.00 OK
r-oldrel-macos-arm64 0.4.1 3.00 70.00 73.00 OK
r-oldrel-macos-x86_64 0.4.0 5.00 80.00 85.00 OK
r-oldrel-windows-x86_64 0.4.0 16.00 161.00 177.00 OK

Check Details

Version: 0.4.0
Check: tests
Result: ERROR Running ‘testthat.R’ [52s/35s] 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(vitals) > > test_check("vitals") Starting 2 test processes. Saving _problems/test-translate-36.R Saving _problems/test-translate-60.R Saving _problems/test-translate-115.R Saving _problems/test-translate-353.R Saving _problems/test-scorer-detect-364.R Saving _problems/test-solver-9.R Saving _problems/test-solver-40.R Saving _problems/test-solver-84.R Saving _problems/test-translate-events-70.R Saving _problems/test-translate-messages-128.R Saving _problems/test-task-28.R Saving _problems/test-task-72.R Saving _problems/test-task-116.R Saving _problems/test-task-144.R Saving _problems/test-task-461.R Saving _problems/test-task-491.R Saving _problems/test-task-524.R Saving _problems/test-task-633.R Saving _problems/test-task-670.R Saving _problems/test-task-834.R Saving _problems/test-task-893.R Saving _problems/test-task-940.R Saving _problems/test-task-984.R Saving _problems/test-task-1029.R Saving _problems/test-task-1092.R Saving _problems/test-task-1135.R [ FAIL 26 | WARN 0 | SKIP 61 | PASS 152 ] ══ Skipped tests (61) ══════════════════════════════════════════════════════════ • ANTHROPIC_API_KEY env var is not configured (2): 'test-translate.R:120:3', 'test-translate-messages.R:27:3' • OPENAI_API_KEY env var is not configured (4): 'test-task.R:248:3', 'test-task.R:302:3', 'test-task.R:357:3', 'test-task.R:602:3' • On CRAN (43): 'test-translate.R:259:3', 'test-translate.R:375:1', 'test-bind.R:2:3', 'test-bundle.R:1:1', 'test-bundle.R:41:1', 'test-log-read.R:128:3', 'test-log-read.R:153:3', 'test-scorer-detect.R:2:3', 'test-scorer-detect.R:45:3', 'test-scorer-detect.R:86:3', 'test-scorer-detect.R:172:3', 'test-scorer-detect.R:225:3', 'test-scorer-detect.R:314:3', 'test-scorer-model.R:4:3', 'test-scorer-model.R:45:3', 'test-scorer-model.R:89:3', 'test-solver-agent.R:1:1', 'test-solver-agent.R:10:1', 'test-solver-agent.R:153:1', 'test-solver-agent.R:227:1', 'test-solver-agent.R:242:1', 'test-solver-agent.R:297:1', 'test-solver-agent.R:326:1', 'test-solver.R:18:1', 'test-solver.R:51:1', 'test-translate-events.R:2:3', 'test-translate-messages.R:2:3', 'test-translate-messages.R:61:3', 'test-translate-utils.R:44:3', 'test-translate-utils.R:55:3', 'test-utils.R:26:1', 'test-utils.R:37:3', 'test-utils.R:45:1', 'test-view.R:18:1', 'test-view.R:34:1', 'test-task.R:150:1', 'test-task.R:227:1', 'test-task.R:538:1', 'test-task.R:717:1', 'test-task.R:743:1', 'test-task.R:769:1', 'test-task.R:793:1', 'test-task.R:1055:1' • On CRAN. (4): 'test-translate.R:12:3', 'test-translate.R:168:3', 'test-translate.R:235:3', 'test-translate.R:329:3' • Sys.getenv("VITALS_TEST_AGENT_SOLVERS") == "" is TRUE (1): 'test-solver-agent.R:203:3' • Test log files not available (6): 'test-log-read.R:66:3', 'test-log-read.R:94:3', 'test-log-read.R:110:3', 'test-solver-agent.R:31:3', 'test-solver-agent.R:56:3', 'test-solver-agent.R:74:3' • {gargle} is not installed (1): 'test-translate.R:77:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-translate.R:36:3'): vitals writes valid eval logs (basic, openai) ── <vcr_unhandled/rlang_error/error/condition> Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "translate-openai-basic". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. └─tsk$eval() at test-translate.R:36:3 2. ├─base::do.call(self$solve, c(split_args$solver, list(epochs = epochs))) 3. └─vitals (local) `<fn>`(epochs = NULL) 4. └─private$solver(self$get_samples()$input, ...) 5. └─vitals (local) fn(...) 6. └─ellmer::parallel_chat(ch, as.list(inputs), ...) 7. └─ellmer (local) my_parallel_turns(conversations) 8. └─ellmer:::parallel_turns(...) 9. └─httr2::req_perform_parallel(reqs, max_active = max_active, on_error = on_error) 10. ├─base::tryCatch(...) 11. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 14. └─queue$process() 15. └─self$process1(deadline) 16. └─self$submit_next(deadline) 17. └─self$pooled_reqs[[i]]$submit(self$pool) 18. └─private$mock(self$req) 19. └─RequestHandlerHttr2$new(req)$handle() 20. └─cli::cli_abort(...) 21. └─rlang::abort(...) ── Error ('test-translate.R:60:3'): vitals writes valid eval logs (basic, claude) ── <vcr_unhandled/rlang_error/error/condition> Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "translate-anthropic-basic". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. └─tsk$eval() at test-translate.R:60:3 2. ├─base::do.call(self$solve, c(split_args$solver, list(epochs = epochs))) 3. └─vitals (local) `<fn>`(epochs = NULL) 4. └─private$solver(self$get_samples()$input, ...) 5. └─vitals (local) fn(...) 6. └─ellmer::parallel_chat(ch, as.list(inputs), ...) 7. └─ellmer (local) my_parallel_turns(conversations) 8. └─ellmer:::parallel_turns(...) 9. └─httr2::req_perform_parallel(reqs, max_active = max_active, on_error = on_error) 10. ├─base::tryCatch(...) 11. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 14. └─queue$process() 15. └─self$process1(deadline) 16. └─self$submit_next(deadline) 17. └─self$pooled_reqs[[i]]$submit(self$pool) 18. └─private$mock(self$req) 19. └─RequestHandlerHttr2$new(req)$handle() 20. └─cli::cli_abort(...) 21. └─rlang::abort(...) ── Error ('test-translate.R:115:3'): vitals writes valid eval logs (solver tool calls, claude) ── <vcr_unhandled/rlang_error/error/condition> Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "translate-anthropic-tool-calls". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. └─tsk$eval() at test-translate.R:115:3 2. ├─base::do.call(self$solve, c(split_args$solver, list(epochs = epochs))) 3. └─vitals (local) `<fn>`(epochs = NULL) 4. └─private$solver(self$get_samples()$input, ...) 5. └─vitals (local) fn(...) 6. └─ellmer::parallel_chat(ch, as.list(inputs), ...) 7. └─ellmer (local) my_parallel_turns(conversations) 8. └─ellmer:::parallel_turns(...) 9. └─httr2::req_perform_parallel(reqs, max_active = max_active, on_error = on_error) 10. ├─base::tryCatch(...) 11. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 14. └─queue$process() 15. └─self$process1(deadline) 16. └─self$submit_next(deadline) 17. └─self$pooled_reqs[[i]]$submit(self$pool) 18. └─private$mock(self$req) 19. └─RequestHandlerHttr2$new(req)$handle() 20. └─cli::cli_abort(...) 21. └─rlang::abort(...) ── Error ('test-translate.R:353:3'): vitals writes valid logs with numeric solver results (#145) ── <vcr_unhandled/rlang_error/error/condition> Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "translate-numeric-results". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. └─chat$chat("Hey!", echo = FALSE) at test-translate.R:353:3 2. └─coro::collect(...) 3. └─coro:::reduce_steps(x, steps, along_builder(list())) 4. └─coro:::reduce(x, reducer, .init = identity) 5. └─coro:::reduce_impl(.x, .f, ..., .init = .init) 6. └─coro:::iter_reduce_impl(.x, .f, ..., .left = .left) 7. ├─coro::is_exhausted(new <- .x()) 8. └─coro (local) .x() 9. └─base::evalq(...) 10. └─base::evalq(...) 11. └─base::evalq(...) 12. └─base::evalq(...) 13. ├─coro:::with_try_catch(...) 14. │ ├─rlang::inject(tryCatch(expr, !!!handlers)) 15. │ └─base::tryCatch(expr, error = `<fn>`) 16. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 17. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 18. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 19. ├─coro::is_exhausted(elt <- iterator()) 20. └─coro (local) iterator() 21. └─base::evalq(...) 22. └─base::evalq(...) 23. ├─base::evalq(...) 24. │ └─base::evalq(...) 25. │ ├─coro:::with_try_catch(...) 26. │ │ ├─rlang::inject(tryCatch(expr, !!!handlers)) 27. │ │ └─base::tryCatch(expr, error = `<fn>`) 28. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 29. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 30. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 31. │ └─coro (local) user(...) 32. │ ├─.last_value <<- eval_bare(substitute(expr), user_env) 33. │ │ └─rlang::env_poke(env, lhs, value, inherit = TRUE, create = FALSE) 34. │ └─rlang::eval_bare(substitute(expr), user_env) 35. ├─base::withCallingHandlers(...) 36. └─ellmer:::chat_perform(...) 37. └─httr2::req_perform(req) 38. └─vcr (local) mock(req) 39. └─RequestHandlerHttr2$new(req)$handle() 40. └─cli::cli_abort(...) 41. └─rlang::abort(...) ── Error ('test-scorer-detect.R:364:3'): vitals writes valid eval logs (basic, claude) ── <vcr_unhandled/rlang_error/error/condition> Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "scorer-detect-valid-log". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. └─tsk$eval() at test-scorer-detect.R:364:3 2. ├─base::do.call(self$solve, c(split_args$solver, list(epochs = epochs))) 3. └─vitals (local) `<fn>`(epochs = NULL) 4. └─private$solver(self$get_samples()$input, ...) 5. └─vitals (local) fn(...) 6. └─ellmer::parallel_chat(ch, as.list(inputs), ...) 7. └─ellmer (local) my_parallel_turns(conversations) 8. └─ellmer:::parallel_turns(...) 9. └─httr2::req_perform_parallel(reqs, max_active = max_active, on_error = on_error) 10. ├─base::tryCatch(...) 11. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 14. └─queue$process() 15. └─self$process1(deadline) 16. └─self$submit_next(deadline) 17. └─self$pooled_reqs[[i]]$submit(self$pool) 18. └─private$mock(self$req) 19. └─RequestHandlerHttr2$new(req)$handle() 20. └─cli::cli_abort(...) 21. └─rlang::abort(...) ── Error ('test-solver.R:9:3'): generate works ───────────────────────────────── <vcr_unhandled/rlang_error/error/condition> Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "solver-generate". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. └─vitals (local) res(list("hey", "hi", "hello")) at test-solver.R:9:3 2. └─ellmer::parallel_chat(ch, as.list(inputs), ...) 3. └─ellmer (local) my_parallel_turns(conversations) 4. └─ellmer:::parallel_turns(...) 5. └─httr2::req_perform_parallel(reqs, max_active = max_active, on_error = on_error) 6. ├─base::tryCatch(...) 7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. └─queue$process() 11. └─self$process1(deadline) 12. └─self$submit_next(deadline) 13. └─self$pooled_reqs[[i]]$submit(self$pool) 14. └─private$mock(self$req) 15. └─RequestHandlerHttr2$new(req)$handle() 16. └─cli::cli_abort(...) 17. └─rlang::abort(...) ── Error ('test-solver.R:40:3'): generate_structured works ───────────────────── <vcr_unhandled/rlang_error/error/condition> Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "solver-generate-structured". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. └─vitals (local) res(list("What is 2+2?", "What is 3+3?")) at test-solver.R:40:3 2. └─ellmer::parallel_chat_structured(...) 3. └─ellmer:::parallel_turns(...) 4. └─httr2::req_perform_parallel(reqs, max_active = max_active, on_error = on_error) 5. ├─base::tryCatch(...) 6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 9. └─queue$process() 10. └─self$process1(deadline) 11. └─self$submit_next(deadline) 12. └─self$pooled_reqs[[i]]$submit(self$pool) 13. └─private$mock(self$req) 14. └─RequestHandlerHttr2$new(req)$handle() 15. └─cli::cli_abort(...) 16. └─rlang::abort(...) ── Error ('test-solver.R:84:3'): generate_structured produces valid logs ─────── <vcr_unhandled/rlang_error/error/condition> Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "solver-generate-structured-task". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. └─tsk$eval() at test-solver.R:84:3 2. ├─base::do.call(self$solve, c(split_args$solver, list(epochs = epochs))) 3. └─vitals (local) `<fn>`(epochs = NULL) 4. └─private$solver(self$get_samples()$input, ...) 5. └─vitals (local) fn(...) 6. └─ellmer::parallel_chat_structured(...) 7. └─ellmer:::parallel_turns(...) 8. └─httr2::req_perform_parallel(reqs, max_active = max_active, on_error = on_error) 9. ├─base::tryCatch(...) 10. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 13. └─queue$process() 14. └─self$process1(deadline) 15. └─self$submit_next(deadline) 16. └─self$pooled_reqs[[i]]$submit(self$pool) 17. └─private$mock(self$req) 18. └─RequestHandlerHttr2$new(req)$handle() 19. └─cli::cli_abort(...) 20. └─rlang::abort(...) ── Error ('test-translate-events.R:70:3'): vitals writes valid eval logs (scorer tool calls, claude) ── <vcr_unhandled/rlang_error/error/condition> Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "translate-anthropic-scorer-tool-calls". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. └─tsk$eval() at test-translate-events.R:70:3 2. ├─base::do.call(self$solve, c(split_args$solver, list(epochs = epochs))) 3. └─vitals (local) `<fn>`(epochs = NULL) 4. └─private$solver(self$get_samples()$input, ...) 5. └─vitals (local) fn(...) 6. └─ellmer::parallel_chat(ch, as.list(inputs), ...) 7. └─ellmer (local) my_parallel_turns(conversations) 8. └─ellmer:::parallel_turns(...) 9. └─httr2::req_perform_parallel(reqs, max_active = max_active, on_error = on_error) 10. ├─base::tryCatch(...) 11. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 14. └─queue$process() 15. └─self$process1(deadline) 16. └─self$submit_next(deadline) 17. └─self$pooled_reqs[[i]]$submit(self$pool) 18. └─private$mock(self$req) 19. └─RequestHandlerHttr2$new(req)$handle() 20. └─cli::cli_abort(...) 21. └─rlang::abort(...) ── Error ('test-translate-messages.R:128:3'): logs including system prompts are compatible with inspect ── <vcr_unhandled/rlang_error/error/condition> Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "translate-messages-system-prompts". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. └─tsk$eval() at test-translate-messages.R:128:3 2. ├─base::do.call(self$solve, c(split_args$solver, list(epochs = epochs))) 3. └─vitals (local) `<fn>`(epochs = NULL) 4. └─private$solver(self$get_samples()$input, ...) 5. └─vitals (local) fn(...) 6. └─ellmer::parallel_chat(ch, as.list(inputs), ...) 7. └─ellmer (local) my_parallel_turns(conversations) 8. └─ellmer:::parallel_turns(...) 9. └─httr2::req_perform_parallel(reqs, max_active = max_active, on_error = on_error) 10. ├─base::tryCatch(...) 11. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 14. └─queue$process() 15. └─self$process1(deadline) 16. └─self$submit_next(deadline) 17. └─self$pooled_reqs[[i]]$submit(self$pool) 18. └─private$mock(self$req) 19. └─RequestHandlerHttr2$new(req)$handle() 20. └─cli::cli_abort(...) 21. └─rlang::abort(...) ── Error ('test-task.R:28:3'): Task R6 class works ───────────────────────────── <vcr_unhandled/rlang_error/error/condition> Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "task-basic". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. └─tsk$eval() at test-task.R:28:3 2. ├─base::do.call(self$solve, c(split_args$solver, list(epochs = epochs))) 3. └─vitals (local) `<fn>`(epochs = NULL) 4. └─private$solver(self$get_samples()$input, ...) 5. └─vitals (local) fn(...) 6. └─ellmer::parallel_chat(ch, as.list(inputs), ...) 7. └─ellmer (local) my_parallel_turns(conversations) 8. └─ellmer:::parallel_turns(...) 9. └─httr2::req_perform_parallel(reqs, max_active = max_active, on_error = on_error) 10. ├─base::tryCatch(...) 11. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 14. └─queue$process() 15. └─self$process1(deadline) 16. └─self$submit_next(deadline) 17. └─self$pooled_reqs[[i]]$submit(self$pool) 18. └─private$mock(self$req) 19. └─RequestHandlerHttr2$new(req)$handle() 20. └─cli::cli_abort(...) 21. └─rlang::abort(...) ── Error ('test-task.R:72:3'): Task with epochs works ────────────────────────── <vcr_unhandled/rlang_error/error/condition> Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "task-epochs". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. └─tsk$eval(epochs = 2) at test-task.R:72:3 2. ├─base::do.call(self$solve, c(split_args$solver, list(epochs = epochs))) 3. └─vitals (local) `<fn>`(epochs = 2) 4. └─private$solver(self$get_samples()$input, ...) 5. └─vitals (local) fn(...) 6. └─ellmer::parallel_chat(ch, as.list(inputs), ...) 7. └─ellmer (local) my_parallel_turns(conversations) 8. └─ellmer:::parallel_turns(...) 9. └─httr2::req_perform_parallel(reqs, max_active = max_active, on_error = on_error) 10. ├─base::tryCatch(...) 11. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 14. └─queue$process() 15. └─self$process1(deadline) 16. └─self$submit_next(deadline) 17. └─self$pooled_reqs[[i]]$submit(self$pool) 18. └─private$mock(self$req) 19. └─RequestHandlerHttr2$new(req)$handle() 20. └─cli::cli_abort(...) 21. └─rlang::abort(...) ── Error ('test-task.R:116:3'): Task respects `$new(epochs)` ─────────────────── <vcr_unhandled/rlang_error/error/condition> Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "task-new-epochs". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. └─tsk$eval() at test-task.R:116:3 2. ├─base::do.call(self$solve, c(split_args$solver, list(epochs = epochs))) 3. └─vitals (local) `<fn>`(epochs = NULL) 4. └─private$solver(self$get_samples()$input, ...) 5. └─vitals (local) fn(...) 6. └─ellmer::parallel_chat(ch, as.list(inputs), ...) 7. └─ellmer (local) my_parallel_turns(conversations) 8. └─ellmer:::parallel_turns(...) 9. └─httr2::req_perform_parallel(reqs, max_active = max_active, on_error = on_error) 10. ├─base::tryCatch(...) 11. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 14. └─queue$process() 15. └─self$process1(deadline) 16. └─self$submit_next(deadline) 17. └─self$pooled_reqs[[i]]$submit(self$pool) 18. └─private$mock(self$req) 19. └─RequestHandlerHttr2$new(req)$handle() 20. └─cli::cli_abort(...) 21. └─rlang::abort(...) ── Error ('test-task.R:144:3'): `$eval(epochs)` takes precedence over `$new(epochs)` ── <vcr_unhandled/rlang_error/error/condition> Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "task-eval-epochs-precedence". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. └─tsk$eval(epochs = 1) at test-task.R:144:3 2. ├─base::do.call(self$solve, c(split_args$solver, list(epochs = epochs))) 3. └─vitals (local) `<fn>`(epochs = 1) 4. └─private$solver(self$get_samples()$input, ...) 5. └─vitals (local) fn(...) 6. └─ellmer::parallel_chat(ch, as.list(inputs), ...) 7. └─ellmer (local) my_parallel_turns(conversations) 8. └─ellmer:::parallel_turns(...) 9. └─httr2::req_perform_parallel(reqs, max_active = max_active, on_error = on_error) 10. ├─base::tryCatch(...) 11. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 14. └─queue$process() 15. └─self$process1(deadline) 16. └─self$submit_next(deadline) 17. └─self$pooled_reqs[[i]]$submit(self$pool) 18. └─private$mock(self$req) 19. └─RequestHandlerHttr2$new(req)$handle() 20. └─cli::cli_abort(...) 21. └─rlang::abort(...) ── Error ('test-task.R:461:3'): default metrics are applied effectively ──────── <vcr_unhandled/rlang_error/error/condition> Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "task-default-metrics". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. └─tsk$eval() at test-task.R:461:3 2. ├─base::do.call(self$solve, c(split_args$solver, list(epochs = epochs))) 3. └─vitals (local) `<fn>`(epochs = NULL) 4. └─private$solver(self$get_samples()$input, ...) 5. └─vitals (local) fn(...) 6. └─ellmer::parallel_chat(ch, as.list(inputs), ...) 7. └─ellmer (local) my_parallel_turns(conversations) 8. └─ellmer:::parallel_turns(...) 9. └─httr2::req_perform_parallel(reqs, max_active = max_active, on_error = on_error) 10. ├─base::tryCatch(...) 11. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 14. └─queue$process() 15. └─self$process1(deadline) 16. └─self$submit_next(deadline) 17. └─self$pooled_reqs[[i]]$submit(self$pool) 18. └─private$mock(self$req) 19. └─RequestHandlerHttr2$new(req)$handle() 20. └─cli::cli_abort(...) 21. └─rlang::abort(...) ── Error ('test-task.R:491:3'): naive accuracy normalizes by number of factor levels, not observed max ── <vcr_unhandled/rlang_error/error/condition> Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "task-default-metrics". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. └─tsk$eval() at test-task.R:491:3 2. ├─base::do.call(self$solve, c(split_args$solver, list(epochs = epochs))) 3. └─vitals (local) `<fn>`(epochs = NULL) 4. └─private$solver(self$get_samples()$input, ...) 5. └─vitals (local) fn(...) 6. └─ellmer::parallel_chat(ch, as.list(inputs), ...) 7. └─ellmer (local) my_parallel_turns(conversations) 8. └─ellmer:::parallel_turns(...) 9. └─httr2::req_perform_parallel(reqs, max_active = max_active, on_error = on_error) 10. ├─base::tryCatch(...) 11. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 14. └─queue$process() 15. └─self$process1(deadline) 16. └─self$submit_next(deadline) 17. └─self$pooled_reqs[[i]]$submit(self$pool) 18. └─private$mock(self$req) 19. └─RequestHandlerHttr2$new(req)$handle() 20. └─cli::cli_abort(...) 21. └─rlang::abort(...) ── Error ('test-task.R:524:3'): task applies non-default metrics ─────────────── <vcr_unhandled/rlang_error/error/condition> Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "task-non-default-metrics". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. └─tsk$eval() at test-task.R:524:3 2. ├─base::do.call(self$solve, c(split_args$solver, list(epochs = epochs))) 3. └─vitals (local) `<fn>`(epochs = NULL) 4. └─private$solver(self$get_samples()$input, ...) 5. └─vitals (local) fn(...) 6. └─ellmer::parallel_chat(ch, as.list(inputs), ...) 7. └─ellmer (local) my_parallel_turns(conversations) 8. └─ellmer:::parallel_turns(...) 9. └─httr2::req_perform_parallel(reqs, max_active = max_active, on_error = on_error) 10. ├─base::tryCatch(...) 11. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 14. └─queue$process() 15. └─self$process1(deadline) 16. └─self$submit_next(deadline) 17. └─self$pooled_reqs[[i]]$submit(self$pool) 18. └─private$mock(self$req) 19. └─RequestHandlerHttr2$new(req)$handle() 20. └─cli::cli_abort(...) 21. └─rlang::abort(...) ── Error ('test-task.R:633:3'): task ids have correct format after logging ───── <vcr_unhandled/rlang_error/error/condition> Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "task-id-format". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. └─tsk$eval() at test-task.R:633:3 2. ├─base::do.call(self$solve, c(split_args$solver, list(epochs = epochs))) 3. └─vitals (local) `<fn>`(epochs = NULL) 4. └─private$solver(self$get_samples()$input, ...) 5. └─vitals (local) fn(...) 6. └─ellmer::parallel_chat(ch, as.list(inputs), ...) 7. └─ellmer (local) my_parallel_turns(conversations) 8. └─ellmer:::parallel_turns(...) 9. └─httr2::req_perform_parallel(reqs, max_active = max_active, on_error = on_error) 10. ├─base::tryCatch(...) 11. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 14. └─queue$process() 15. └─self$process1(deadline) 16. └─self$submit_next(deadline) 17. └─self$pooled_reqs[[i]]$submit(self$pool) 18. └─private$mock(self$req) 19. └─RequestHandlerHttr2$new(req)$handle() 20. └─cli::cli_abort(...) 21. └─rlang::abort(...) ── Error ('test-task.R:670:3'): Task completeness is tracked and preserved ───── <vcr_unhandled/rlang_error/error/condition> Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "task-completeness". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. └─tsk$solve() at test-task.R:670:3 2. └─private$solver(self$get_samples()$input, ...) 3. └─vitals (local) fn(...) 4. └─ellmer::parallel_chat(ch, as.list(inputs), ...) 5. └─ellmer (local) my_parallel_turns(conversations) 6. └─ellmer:::parallel_turns(...) 7. └─httr2::req_perform_parallel(reqs, max_active = max_active, on_error = on_error) 8. ├─base::tryCatch(...) 9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 12. └─queue$process() 13. └─self$process1(deadline) 14. └─self$submit_next(deadline) 15. └─self$pooled_reqs[[i]]$submit(self$pool) 16. └─private$mock(self$req) 17. └─RequestHandlerHttr2$new(req)$handle() 18. └─cli::cli_abort(...) 19. └─rlang::abort(...) ── Error ('test-task.R:834:3'): token usage is logged correctly ──────────────── <vcr_unhandled/rlang_error/error/condition> Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "task-token-usage". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. └─chat_openai(model = "gpt-4.1-nano")$chat("hey!", echo = "none") at test-task.R:834:3 2. └─coro::collect(...) 3. └─coro:::reduce_steps(x, steps, along_builder(list())) 4. └─coro:::reduce(x, reducer, .init = identity) 5. └─coro:::reduce_impl(.x, .f, ..., .init = .init) 6. └─coro:::iter_reduce_impl(.x, .f, ..., .left = .left) 7. ├─coro::is_exhausted(new <- .x()) 8. └─coro (local) .x() 9. └─base::evalq(...) 10. └─base::evalq(...) 11. └─base::evalq(...) 12. └─base::evalq(...) 13. ├─coro:::with_try_catch(...) 14. │ ├─rlang::inject(tryCatch(expr, !!!handlers)) 15. │ └─base::tryCatch(expr, error = `<fn>`) 16. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 17. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 18. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 19. ├─coro::is_exhausted(elt <- iterator()) 20. └─coro (local) iterator() 21. └─base::evalq(...) 22. └─base::evalq(...) 23. ├─base::evalq(...) 24. │ └─base::evalq(...) 25. │ ├─coro:::with_try_catch(...) 26. │ │ ├─rlang::inject(tryCatch(expr, !!!handlers)) 27. │ │ └─base::tryCatch(expr, error = `<fn>`) 28. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 29. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 30. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 31. │ └─coro (local) user(...) 32. │ ├─.last_value <<- eval_bare(substitute(expr), user_env) 33. │ │ └─rlang::env_poke(env, lhs, value, inherit = TRUE, create = FALSE) 34. │ └─rlang::eval_bare(substitute(expr), user_env) 35. ├─base::withCallingHandlers(...) 36. └─ellmer:::chat_perform(...) 37. └─httr2::req_perform(req) 38. └─vcr (local) mock(req) 39. └─RequestHandlerHttr2$new(req)$handle() 40. └─cli::cli_abort(...) 41. └─rlang::abort(...) ── Error ('test-task.R:893:3'): token usage is logged correctly (with unrelated token usage) ── <vcr_unhandled/rlang_error/error/condition> Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "task-token-usage-unrelated". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. └─chat_openai(model = "gpt-4.1-nano")$chat("hey!", echo = "none") at test-task.R:893:3 2. └─coro::collect(...) 3. └─coro:::reduce_steps(x, steps, along_builder(list())) 4. └─coro:::reduce(x, reducer, .init = identity) 5. └─coro:::reduce_impl(.x, .f, ..., .init = .init) 6. └─coro:::iter_reduce_impl(.x, .f, ..., .left = .left) 7. ├─coro::is_exhausted(new <- .x()) 8. └─coro (local) .x() 9. └─base::evalq(...) 10. └─base::evalq(...) 11. └─base::evalq(...) 12. └─base::evalq(...) 13. ├─coro:::with_try_catch(...) 14. │ ├─rlang::inject(tryCatch(expr, !!!handlers)) 15. │ └─base::tryCatch(expr, error = `<fn>`) 16. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 17. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 18. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 19. ├─coro::is_exhausted(elt <- iterator()) 20. └─coro (local) iterator() 21. └─base::evalq(...) 22. └─base::evalq(...) 23. ├─base::evalq(...) 24. │ └─base::evalq(...) 25. │ ├─coro:::with_try_catch(...) 26. │ │ ├─rlang::inject(tryCatch(expr, !!!handlers)) 27. │ │ └─base::tryCatch(expr, error = `<fn>`) 28. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 29. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 30. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 31. │ └─coro (local) user(...) 32. │ ├─.last_value <<- eval_bare(substitute(expr), user_env) 33. │ │ └─rlang::env_poke(env, lhs, value, inherit = TRUE, create = FALSE) 34. │ └─rlang::eval_bare(substitute(expr), user_env) 35. ├─base::withCallingHandlers(...) 36. └─ellmer:::chat_perform(...) 37. └─httr2::req_perform(req) 38. └─vcr (local) mock(req) 39. └─RequestHandlerHttr2$new(req)$handle() 40. └─cli::cli_abort(...) 41. └─rlang::abort(...) ── Error ('test-task.R:940:3'): eval routes arguments correctly to solver and scorer ── <vcr_unhandled/rlang_error/error/condition> Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "task-eval-routes-args". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. └─ch$chat("Hey!", echo = FALSE) at test-task.R:940:3 2. └─coro::collect(...) 3. └─coro:::reduce_steps(x, steps, along_builder(list())) 4. └─coro:::reduce(x, reducer, .init = identity) 5. └─coro:::reduce_impl(.x, .f, ..., .init = .init) 6. └─coro:::iter_reduce_impl(.x, .f, ..., .left = .left) 7. ├─coro::is_exhausted(new <- .x()) 8. └─coro (local) .x() 9. └─base::evalq(...) 10. └─base::evalq(...) 11. └─base::evalq(...) 12. └─base::evalq(...) 13. ├─coro:::with_try_catch(...) 14. │ ├─rlang::inject(tryCatch(expr, !!!handlers)) 15. │ └─base::tryCatch(expr, error = `<fn>`) 16. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 17. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 18. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 19. ├─coro::is_exhausted(elt <- iterator()) 20. └─coro (local) iterator() 21. └─base::evalq(...) 22. └─base::evalq(...) 23. ├─base::evalq(...) 24. │ └─base::evalq(...) 25. │ ├─coro:::with_try_catch(...) 26. │ │ ├─rlang::inject(tryCatch(expr, !!!handlers)) 27. │ │ └─base::tryCatch(expr, error = `<fn>`) 28. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 29. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 30. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 31. │ └─coro (local) user(...) 32. │ ├─.last_value <<- eval_bare(substitute(expr), user_env) 33. │ │ └─rlang::env_poke(env, lhs, value, inherit = TRUE, create = FALSE) 34. │ └─rlang::eval_bare(substitute(expr), user_env) 35. ├─base::withCallingHandlers(...) 36. └─ellmer:::chat_perform(...) 37. └─httr2::req_perform(req) 38. └─vcr (local) mock(req) 39. └─RequestHandlerHttr2$new(req)$handle() 40. └─cli::cli_abort(...) 41. └─rlang::abort(...) ── Error ('test-task.R:984:3'): eval routes arguments to functions with ellipses ── <vcr_unhandled/rlang_error/error/condition> Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "task-eval-routes-ellipses". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. └─ch$chat("Hey!", echo = FALSE) at test-task.R:984:3 2. └─coro::collect(...) 3. └─coro:::reduce_steps(x, steps, along_builder(list())) 4. └─coro:::reduce(x, reducer, .init = identity) 5. └─coro:::reduce_impl(.x, .f, ..., .init = .init) 6. └─coro:::iter_reduce_impl(.x, .f, ..., .left = .left) 7. ├─coro::is_exhausted(new <- .x()) 8. └─coro (local) .x() 9. └─base::evalq(...) 10. └─base::evalq(...) 11. └─base::evalq(...) 12. └─base::evalq(...) 13. ├─coro:::with_try_catch(...) 14. │ ├─rlang::inject(tryCatch(expr, !!!handlers)) 15. │ └─base::tryCatch(expr, error = `<fn>`) 16. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 17. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 18. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 19. ├─coro::is_exhausted(elt <- iterator()) 20. └─coro (local) iterator() 21. └─base::evalq(...) 22. └─base::evalq(...) 23. ├─base::evalq(...) 24. │ └─base::evalq(...) 25. │ ├─coro:::with_try_catch(...) 26. │ │ ├─rlang::inject(tryCatch(expr, !!!handlers)) 27. │ │ └─base::tryCatch(expr, error = `<fn>`) 28. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 29. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 30. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 31. │ └─coro (local) user(...) 32. │ ├─.last_value <<- eval_bare(substitute(expr), user_env) 33. │ │ └─rlang::env_poke(env, lhs, value, inherit = TRUE, create = FALSE) 34. │ └─rlang::eval_bare(substitute(expr), user_env) 35. ├─base::withCallingHandlers(...) 36. └─ellmer:::chat_perform(...) 37. └─httr2::req_perform(req) 38. └─vcr (local) mock(req) 39. └─RequestHandlerHttr2$new(req)$handle() 40. └─cli::cli_abort(...) 41. └─rlang::abort(...) ── Error ('test-task.R:1029:3'): eval routes unmatched arguments to solver with ellipses only ── <vcr_unhandled/rlang_error/error/condition> Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "task-eval-routes-unmatched". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. └─ch$chat("Hey!", echo = FALSE) at test-task.R:1029:3 2. └─coro::collect(...) 3. └─coro:::reduce_steps(x, steps, along_builder(list())) 4. └─coro:::reduce(x, reducer, .init = identity) 5. └─coro:::reduce_impl(.x, .f, ..., .init = .init) 6. └─coro:::iter_reduce_impl(.x, .f, ..., .left = .left) 7. ├─coro::is_exhausted(new <- .x()) 8. └─coro (local) .x() 9. └─base::evalq(...) 10. └─base::evalq(...) 11. └─base::evalq(...) 12. └─base::evalq(...) 13. ├─coro:::with_try_catch(...) 14. │ ├─rlang::inject(tryCatch(expr, !!!handlers)) 15. │ └─base::tryCatch(expr, error = `<fn>`) 16. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 17. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 18. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 19. ├─coro::is_exhausted(elt <- iterator()) 20. └─coro (local) iterator() 21. └─base::evalq(...) 22. └─base::evalq(...) 23. ├─base::evalq(...) 24. │ └─base::evalq(...) 25. │ ├─coro:::with_try_catch(...) 26. │ │ ├─rlang::inject(tryCatch(expr, !!!handlers)) 27. │ │ └─base::tryCatch(expr, error = `<fn>`) 28. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 29. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 30. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 31. │ └─coro (local) user(...) 32. │ ├─.last_value <<- eval_bare(substitute(expr), user_env) 33. │ │ └─rlang::env_poke(env, lhs, value, inherit = TRUE, create = FALSE) 34. │ └─rlang::eval_bare(substitute(expr), user_env) 35. ├─base::withCallingHandlers(...) 36. └─ellmer:::chat_perform(...) 37. └─httr2::req_perform(req) 38. └─vcr (local) mock(req) 39. └─RequestHandlerHttr2$new(req)$handle() 40. └─cli::cli_abort(...) 41. └─rlang::abort(...) ── Error ('test-task.R:1092:3'): eval errors when argument matches neither function and neither has ellipses ── <vcr_unhandled/rlang_error/error/condition> Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "task-eval-errors-bad-arg". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. └─ch$chat("Hey!", echo = FALSE) at test-task.R:1092:3 2. └─coro::collect(...) 3. └─coro:::reduce_steps(x, steps, along_builder(list())) 4. └─coro:::reduce(x, reducer, .init = identity) 5. └─coro:::reduce_impl(.x, .f, ..., .init = .init) 6. └─coro:::iter_reduce_impl(.x, .f, ..., .left = .left) 7. ├─coro::is_exhausted(new <- .x()) 8. └─coro (local) .x() 9. └─base::evalq(...) 10. └─base::evalq(...) 11. └─base::evalq(...) 12. └─base::evalq(...) 13. ├─coro:::with_try_catch(...) 14. │ ├─rlang::inject(tryCatch(expr, !!!handlers)) 15. │ └─base::tryCatch(expr, error = `<fn>`) 16. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 17. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 18. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 19. ├─coro::is_exhausted(elt <- iterator()) 20. └─coro (local) iterator() 21. └─base::evalq(...) 22. └─base::evalq(...) 23. ├─base::evalq(...) 24. │ └─base::evalq(...) 25. │ ├─coro:::with_try_catch(...) 26. │ │ ├─rlang::inject(tryCatch(expr, !!!handlers)) 27. │ │ └─base::tryCatch(expr, error = `<fn>`) 28. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 29. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 30. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 31. │ └─coro (local) user(...) 32. │ ├─.last_value <<- eval_bare(substitute(expr), user_env) 33. │ │ └─rlang::env_poke(env, lhs, value, inherit = TRUE, create = FALSE) 34. │ └─rlang::eval_bare(substitute(expr), user_env) 35. ├─base::withCallingHandlers(...) 36. └─ellmer:::chat_perform(...) 37. └─httr2::req_perform(req) 38. └─vcr (local) mock(req) 39. └─RequestHandlerHttr2$new(req)$handle() 40. └─cli::cli_abort(...) 41. └─rlang::abort(...) ── Error ('test-task.R:1135:3'): $log() respects dir argument ────────────────── <vcr_unhandled/rlang_error/error/condition> Error in `RequestHandlerHttr2$new(req)$handle()`: Failed to find matching request in active cassette, "task-log-dir-argument". i Use `local_vcr_configure_log()` to get more details. i Learn more in `vignette(vcr::debugging)`. Backtrace: ▆ 1. └─tsk$solve() at test-task.R:1135:3 2. └─private$solver(self$get_samples()$input, ...) 3. └─vitals (local) fn(...) 4. └─ellmer::parallel_chat(ch, as.list(inputs), ...) 5. └─ellmer (local) my_parallel_turns(conversations) 6. └─ellmer:::parallel_turns(...) 7. └─httr2::req_perform_parallel(reqs, max_active = max_active, on_error = on_error) 8. ├─base::tryCatch(...) 9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 12. └─queue$process() 13. └─self$process1(deadline) 14. └─self$submit_next(deadline) 15. └─self$pooled_reqs[[i]]$submit(self$pool) 16. └─private$mock(self$req) 17. └─RequestHandlerHttr2$new(req)$handle() 18. └─cli::cli_abort(...) 19. └─rlang::abort(...) [ FAIL 26 | WARN 0 | SKIP 61 | PASS 152 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang