R Under development (unstable) (2025-09-01 r88761 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") Running on: Windows x86-64 Created cache directory: D:\temp\2025_09_02_18_40_17_17352\Rtmpya5kkq/test_cache_dir_12345 Downloading model... From: https://huggingface.co/fake/model/resolve/main/fake.gguf To: D:\temp\2025_09_02_18_40_17_17352\Rtmpya5kkq/test_cache_dir_12345/fake.gguf trying URL 'https://huggingface.co/fake/model/resolve/main/fake.gguf' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 29 100 29 0 0 131 0 --:--:-- --:--:-- --:--:-- 133 --2025-09-02 18:47:20-- https://huggingface.co/fake/model/resolve/main/fake.gguf Loaded CA certificate '/usr/ssl/certs/ca-bundle.crt' Resolving huggingface.co (huggingface.co)... 52.222.136.38, 52.222.136.89, 52.222.136.117, ... Connecting to huggingface.co (huggingface.co)|52.222.136.38|:443... connected. HTTP request sent, awaiting response... 401 Unauthorized Username/Password Authentication Failed. trying URL 'https://huggingface.co/fake/model/resolve/main/fake.gguf' Setting up TinyLlama-1.1B... Model already exists: C:\Users\CRAN\AppData\Local/R/cache/R/edgemodelr/tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf Setting up TinyLlama-OpenOrca... Model already exists: C:\Users\CRAN\AppData\Local/R/cache/R/edgemodelr/tinyllama-1.1b-1t-openorca.Q4_K_M.gguf Setting up llama3.2-1b... Model already exists: C:\Users\CRAN\AppData\Local/R/cache/R/edgemodelr/Llama-3.2-1B-Instruct-Q4_K_M.gguf [ FAIL 4 | WARN 8 | SKIP 13 | PASS 611 ] ══ Skipped tests (13) ══════════════════════════════════════════════════════════ • No test model available for concurrency tests (1): 'test-error-handling.R:230:7' • No test model available for edge case tests (1): 'test-error-handling.R:200:7' • No test model available for memory constraint tests (1): 'test-error-handling.R:130:7' • No test model available for streaming tests (1): 'test-streaming.R:321:5' • empty test (9): 'test-error-handling.R:1:1', 'test-integration.R:1:1', 'test-model-loading.R:106:1', 'test-model-management.R:1:1', 'test-model-management.R:283:1', 'test-model-management.R:336:1', 'test-streaming.R:1:1', 'test-streaming.R:326:1', 'test-text-completion.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-text-completion.R:121:7'): edge_completion parameter validation ── `edge_completion(ctx, "Hello", n_predict = "invalid")` did not throw the expected error. ── Failure ('test-text-completion.R:129:7'): edge_completion parameter validation ── `edge_completion(ctx, "Hello", temperature = "invalid")` did not throw the expected error. ── Failure ('test-text-completion.R:141:7'): edge_completion parameter validation ── `edge_completion(ctx, "Hello", top_p = "invalid")` did not throw the expected error. ── Error ('test-text-completion.R:284:9'): edge_completion stress tests ──────── Error: Error during completion: Failed to process prompt Backtrace: ▆ 1. └─edgemodelr::edge_completion(ctx, "Quick test", n_predict = 3) at test-text-completion.R:284:9 [ FAIL 4 | WARN 8 | SKIP 13 | PASS 611 ] Error: Test failures Execution halted