R Under development (unstable) (2025-09-02 r88773 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(edgemodelr) > > test_check("edgemodelr") [ FAIL 1 | WARN 1 | SKIP 2 | PASS 462 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • Skipping edge_quick_setup integration test to avoid downloading models during testing (1): 'test-model-management.R:195:3' • empty test (1): 'test-model-loading.R:110:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-streaming.R:196:13'): edge_stream_completion handles callback errors ── Error in `(function (data) { if (!data$is_final && data$position == 2) { stop("Test error") } return(TRUE) })(list(token = "\n", position = 2L, is_final = FALSE, total_tokens = 2L))`: Test error Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-streaming.R:192:5 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. ├─edgemodelr::edge_stream_completion(...) 8. │ └─edgemodelr:::edge_completion_stream_internal(...) 9. └─edgemodelr (local) ``(``) [ FAIL 1 | WARN 1 | SKIP 2 | PASS 462 ] Error: Test failures Execution halted