R Under development (unstable) (2026-01-15 r89304 ucrt) -- "Unsuffered Consequences" Copyright (C) 2026 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. > # 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(churon) ChurOn: Setup ONNX Runtime at D:\RCompile\CRANincoming\R-devel\lib\churon\onnxruntime\lib\onnxruntime.dll churon: ONNX Runtime Integration for R ONNX Runtime loaded successfully. > > test_check("churon") thread '' panicked at D:/temp/2026_01_16_12_30_17_22682/RtmpsxwQ00/R.INSTALL110ac1e3aacc/churon/src/.cargo\registry\src\index.crates.io-6f17d22bba15001f\ort-2.0.0-rc.10\src/lib.rs:111:33: An error occurred while attempting to load the ONNX Runtime binary at `D:\RCompile\CRANincoming\R-devel\lib\churon\onnxruntime\lib\onnxruntime.dll`: LoadLibraryExW failed note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace Warning: ONNX Runtime initialization panicked (possible corrupted library) thread '' panicked at D:/temp/2026_01_16_12_30_17_22682/RtmpsxwQ00/R.INSTALL110ac1e3aacc/churon/src/.cargo\registry\src\index.crates.io-6f17d22bba15001f\ort-2.0.0-rc.10\src/lib.rs:111:33: An error occurred while attempting to load the ONNX Runtime binary at `D:\RCompile\CRANincoming\R-devel\lib\churon\onnxruntime\lib\onnxruntime.dll`: LoadLibraryExW failed thread '' panicked at src\lib.rs:120:1: explicit panic Saving _problems/test-end-to-end-33.R thread '' panicked at D:/temp/2026_01_16_12_30_17_22682/RtmpsxwQ00/R.INSTALL110ac1e3aacc/churon/src/.cargo\registry\src\index.crates.io-6f17d22bba15001f\ort-2.0.0-rc.10\src/lib.rs:111:33: An error occurred while attempting to load the ONNX Runtime binary at `D:\RCompile\CRANincoming\R-devel\lib\churon\onnxruntime\lib\onnxruntime.dll`: LoadLibraryExW failed thread '' panicked at src\lib.rs:120:1: explicit panic Saving _problems/test-end-to-end-63.R thread '' panicked at D:/temp/2026_01_16_12_30_17_22682/RtmpsxwQ00/R.INSTALL110ac1e3aacc/churon/src/.cargo\registry\src\index.crates.io-6f17d22bba15001f\ort-2.0.0-rc.10\src/lib.rs:111:33: An error occurred while attempting to load the ONNX Runtime binary at `D:\RCompile\CRANincoming\R-devel\lib\churon\onnxruntime\lib\onnxruntime.dll`: LoadLibraryExW failed thread '' panicked at src\lib.rs:120:1: explicit panic thread '' panicked at D:/temp/2026_01_16_12_30_17_22682/RtmpsxwQ00/R.INSTALL110ac1e3aacc/churon/src/.cargo\registry\src\index.crates.io-6f17d22bba15001f\ort-2.0.0-rc.10\src/lib.rs:111:33: An error occurred while attempting to load the ONNX Runtime binary at `D:\RCompile\CRANincoming\R-devel\lib\churon\onnxruntime\lib\onnxruntime.dll`: LoadLibraryExW failed thread '' panicked at src\lib.rs:120:1: explicit panic Saving _problems/test-end-to-end-119.R thread '' panicked at D:/temp/2026_01_16_12_30_17_22682/RtmpsxwQ00/R.INSTALL110ac1e3aacc/churon/src/.cargo\registry\src\index.crates.io-6f17d22bba15001f\ort-2.0.0-rc.10\src/lib.rs:111:33: An error occurred while attempting to load the ONNX Runtime binary at `D:\RCompile\CRANincoming\R-devel\lib\churon\onnxruntime\lib\onnxruntime.dll`: LoadLibraryExW failed thread '' panicked at src\lib.rs:120:1: explicit panic thread '' panicked at D:/temp/2026_01_16_12_30_17_22682/RtmpsxwQ00/R.INSTALL110ac1e3aacc/churon/src/.cargo\registry\src\index.crates.io-6f17d22bba15001f\ort-2.0.0-rc.10\src/lib.rs:111:33: An error occurred while attempting to load the ONNX Runtime binary at `D:\RCompile\CRANincoming\R-devel\lib\churon\onnxruntime\lib\onnxruntime.dll`: LoadLibraryExW failed thread '' panicked at src\lib.rs:120:1: explicit panic Saving _problems/test-error-handling-73.R thread '' panicked at D:/temp/2026_01_16_12_30_17_22682/RtmpsxwQ00/R.INSTALL110ac1e3aacc/churon/src/.cargo\registry\src\index.crates.io-6f17d22bba15001f\ort-2.0.0-rc.10\src/lib.rs:111:33: An error occurred while attempting to load the ONNX Runtime binary at `D:\RCompile\CRANincoming\R-devel\lib\churon\onnxruntime\lib\onnxruntime.dll`: LoadLibraryExW failed thread '' panicked at src\lib.rs:120:1: explicit panic Saving _problems/test-inference-execution-27.R thread '' panicked at D:/temp/2026_01_16_12_30_17_22682/RtmpsxwQ00/R.INSTALL110ac1e3aacc/churon/src/.cargo\registry\src\index.crates.io-6f17d22bba15001f\ort-2.0.0-rc.10\src/lib.rs:111:33: An error occurred while attempting to load the ONNX Runtime binary at `D:\RCompile\CRANincoming\R-devel\lib\churon\onnxruntime\lib\onnxruntime.dll`: LoadLibraryExW failed thread '' panicked at src\lib.rs:120:1: explicit panic thread '' panicked at D:/temp/2026_01_16_12_30_17_22682/RtmpsxwQ00/R.INSTALL110ac1e3aacc/churon/src/.cargo\registry\src\index.crates.io-6f17d22bba15001f\ort-2.0.0-rc.10\src/lib.rs:111:33: An error occurred while attempting to load the ONNX Runtime binary at `D:\RCompile\CRANincoming\R-devel\lib\churon\onnxruntime\lib\onnxruntime.dll`: LoadLibraryExW failed thread '' panicked at src\lib.rs:120:1: explicit panic Saving _problems/test-session-management-14.R thread '' panicked at D:/temp/2026_01_16_12_30_17_22682/RtmpsxwQ00/R.INSTALL110ac1e3aacc/churon/src/.cargo\registry\src\index.crates.io-6f17d22bba15001f\ort-2.0.0-rc.10\src/lib.rs:111:33: An error occurred while attempting to load the ONNX Runtime binary at `D:\RCompile\CRANincoming\R-devel\lib\churon\onnxruntime\lib\onnxruntime.dll`: LoadLibraryExW failed thread '' panicked at src\lib.rs:120:1: explicit panic Saving _problems/test-session-management-35.R thread '' panicked at D:/temp/2026_01_16_12_30_17_22682/RtmpsxwQ00/R.INSTALL110ac1e3aacc/churon/src/.cargo\registry\src\index.crates.io-6f17d22bba15001f\ort-2.0.0-rc.10\src/lib.rs:111:33: An error occurred while attempting to load the ONNX Runtime binary at `D:\RCompile\CRANincoming\R-devel\lib\churon\onnxruntime\lib\onnxruntime.dll`: LoadLibraryExW failed thread '' panicked at src\lib.rs:120:1: explicit panic Saving _problems/test-session-management-58.R [ FAIL 8 | WARN 0 | SKIP 0 | PASS 46 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-end-to-end.R:17:5'): end-to-end workflow with example models ── Expected `{ ... }` not to throw any errors. Actually got a with message: Failed to create ONNX session: User function panicked: from_path ── Failure ('test-end-to-end.R:60:5'): convenience functions work correctly ──── Expected `{ ... }` not to throw any errors. Actually got a with message: Failed to create ONNX session: User function panicked: from_path ── Error ('test-end-to-end.R:119:5'): input validation works correctly ───────── Error in `value[[3L]](cond)`: Failed to create ONNX session: User function panicked: from_path Backtrace: ▆ 1. └─churon::onnx_session(models[1]) at test-end-to-end.R:119:5 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test-error-handling.R:73:5'): error handling for inference failures ── Error in `value[[3L]](cond)`: Failed to create ONNX session: User function panicked: from_path Backtrace: ▆ 1. └─churon::onnx_session(model_files[1]) at test-error-handling.R:73:5 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test-inference-execution.R:27:5'): inference with invalid input data ── Error in `value[[3L]](cond)`: Failed to create ONNX session: User function panicked: from_path Backtrace: ▆ 1. └─churon::onnx_session(model_path) at test-inference-execution.R:27:5 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test-session-management.R:14:5'): session creation with valid model ── Error in `value[[3L]](cond)`: Failed to create ONNX session: User function panicked: from_path Backtrace: ▆ 1. └─churon::onnx_example_session("mnist") at test-session-management.R:14:5 2. └─churon::onnx_session(model_path[1], providers = providers) 3. └─base::tryCatch(...) 4. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 5. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6. └─value[[3L]](cond) ── Error ('test-session-management.R:35:5'): session creation with execution providers ── Error in `value[[3L]](cond)`: Failed to create ONNX session: User function panicked: from_path Backtrace: ▆ 1. └─churon::onnx_session(models[1], providers = "cpu") at test-session-management.R:35:5 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ── Error ('test-session-management.R:58:5'): session information retrieval ───── Error in `value[[3L]](cond)`: Failed to create ONNX session: User function panicked: from_path Backtrace: ▆ 1. └─churon::onnx_session(models[1]) at test-session-management.R:58:5 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) [ FAIL 8 | WARN 0 | SKIP 0 | PASS 46 ] Error: ! Test failures. Execution halted