* using log directory ‘/srv/hornik/tmp/CRAN_pretest/edgemodelr.Rcheck’ * using R Under development (unstable) (2025-08-24 r88696) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (3+b1) Debian flang-new version 19.1.7 (3+b1) * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * checking for file ‘edgemodelr/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘edgemodelr’ version ‘0.1.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [4s/6s] NOTE Maintainer: ‘Pawan Rama Mali ’ New submission License components with restrictions and base license permitting such: MIT + file LICENSE File 'LICENSE': MIT License Copyright (c) 2024 Pawan Rama Mali Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Possibly misspelled words in DESCRIPTION: GGUF (11:73) GPT (12:6) Authors@R field gives persons with deprecated or bad elements: Warning in person1(given = given[[i]], family = family[[i]], middle = middle[[i]], : Invalid ORCID iD: ‘0000-0000-0000-0000’. Calls: ... FUN -> with -> with.default -> eval -> eval -> person1 Found the following (possibly) invalid URLs: URL: https://github.com/ggerganov/ggml (moved to https://github.com/ggml-org/ggml) From: README.md Status: 301 Message: Moved Permanently URL: https://github.com/user/edgemodelr/discussions From: README.md Status: 404 Message: Not Found URL: https://github.com/user/edgemodelr/issues From: README.md Status: 404 Message: Not Found For content that is 'Moved Permanently', please change http to https, add trailing slashes, or replace the old by the new URL. Found the following (possibly) invalid ORCID iD: iD: 0000-0000-0000-0000 (from: DESCRIPTION) * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘edgemodelr’ can be installed ... [100s/100s] WARNING Found the following significant warnings: llama/llama-quant.cpp:656:66: warning: absolute value function 'abs' given an argument of type 'const int64_t' (aka 'const long') but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] See ‘/srv/hornik/tmp/CRAN_pretest/edgemodelr.Rcheck/00install.out’ for details. * used C++ compiler: ‘Debian clang version 19.1.7 (3+b2)’ * checking C++ specification ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... NOTE License stub is invalid DCF. Authors@R field gives persons with invalid ORCID identifiers: Pawan Rama Mali [aut, cre] (ORCID: ) Author field differs from that derived from Authors@R Author: ‘Pawan Rama Mali ’ Authors@R: ‘Pawan Rama Mali [aut, cre] (ORCID: )’ * checking top-level files ... NOTE Non-standard file/directory found at top level: ‘temp_lib’ * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... WARNING Found the following file with non-ASCII characters: R/api.R Portable packages must use only ASCII characters in their R code and NAMESPACE directives, except perhaps in comments. Use \uxxxx escapes for other characters. Function ‘tools::showNonASCIIfile’ can help in finding non-ASCII characters in files. * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] OK * checking whether startup messages can be suppressed ... [0s/0s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [2s/2s] NOTE File ‘edgemodelr/R/zzz.R’: .onLoad calls: packageStartupMessage("edgemodelr: Local language model inference via llama.cpp") packageStartupMessage("Ensure you have GGUF model files for inference.") See section ‘Good practice’ in '?.onAttach'. edge_chat_stream: no visible global function definition for ‘flush.console’ edge_chat_stream : : no visible global function definition for ‘flush.console’ edge_chat_stream: no visible global function definition for ‘tail’ Undefined global functions or variables: flush.console tail Consider adding importFrom("utils", "flush.console", "tail") to your NAMESPACE file. * checking for missing documentation entries ... WARNING Undocumented code objects: ‘edge_completion’ ‘edge_download_model’ ‘edge_free_model’ ‘edge_list_models’ ‘edge_load_model’ ‘edge_quick_setup’ ‘is_valid_model’ All user-level objects in a package should have documentation entries. See chapter ‘Writing R documentation files’ in the ‘Writing R Extensions’ manual. * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... WARNING Non-portable flags in variable 'PKG_CFLAGS': -std=gnu11 -O2 -fPIC Non-portable flags in variable 'PKG_CXXFLAGS': -std=gnu++17 -O2 -fPIC * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... NOTE Files which contain pragma(s) suppressing diagnostics: ‘src/ggml/ggml-cpu/arch/x86/repack.cpp’ ‘src/ggml/ggml-cpu/repack.cpp’ ‘src/llama/llama-sampling.cpp’ * checking compilation flags used ... OK * checking compiled code ... NOTE File ‘edgemodelr/libs/edgemodelr.so’: Found ‘__vprintf_chk’, possibly from ‘vprintf’ (C) Object: ‘ggml/ggml-quants.o’ Found ‘stderr’, possibly from ‘stderr’ (C) Objects: ‘ggml/ggml.o’, ‘ggml/ggml-quants.o’, ‘ggml/ggml-opt.o’, ‘llama/llama-grammar.o’, ‘llama/llama-impl.o’, ‘llama/unicode.o’, ‘ggml/ggml-cpu/ggml-cpu-c.o’, ‘ggml/ggml-cpu/unary-ops.o’ Found ‘stdout’, possibly from ‘stdout’ (C) Objects: ‘ggml/ggml.o’, ‘llama/llama-quant.o’ Compiled code should not call entry points which might terminate R nor write to stdout/stderr instead of to the console, nor use Fortran I/O nor system RNGs nor [v]sprintf. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual. * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... NONE * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [2s/2s] ERROR Running ‘testthat.R’ [2s/2s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(edgemodelr) edgemodelr: Local language model inference via llama.cpp Ensure you have GGUF model files for inference. > > test_check("edgemodelr") 📁 Model file not found: does_not_exist.gguf 💡 Try these options: 1. Download a model: edge_download_model('TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF', 'tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf') 2. Quick setup: edge_quick_setup('TinyLlama-1.1B') 3. List models: edge_list_models() 📁 Model file not found: 💡 Try these options: 1. Download a model: edge_download_model('TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF', 'tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf') 2. Quick setup: edge_quick_setup('TinyLlama-1.1B') 3. List models: edge_list_models() 📁 Model file not found: dummy.gguf 💡 Try these options: 1. Download a model: edge_download_model('TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF', 'tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf') 2. Quick setup: edge_quick_setup('TinyLlama-1.1B') 3. List models: edge_list_models() 📁 Model file not found: dummy.gguf 💡 Try these options: 1. Download a model: edge_download_model('TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF', 'tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf') 2. Quick setup: edge_quick_setup('TinyLlama-1.1B') 3. List models: edge_list_models() 📁 Model file not found: dummy.gguf 💡 Try these options: 1. Download a model: edge_download_model('TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF', 'tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf') 2. Quick setup: edge_quick_setup('TinyLlama-1.1B') 3. List models: edge_list_models() 📁 Model file not found: dummy.gguf 💡 Try these options: 1. Download a model: edge_download_model('TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF', 'tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf') 2. Quick setup: edge_quick_setup('TinyLlama-1.1B') 3. List models: edge_list_models() gguf_init_from_file_impl: invalid magic characters: 'This', expected 'GGUF' llama_model_load: error loading model: llama_model_loader: failed to load model from /srv/hornik/tmp/CRAN_pretest/edgemodelr.Rcheck/tests/testthat/fake_model.gguf llama_model_load_from_file_impl: failed to load model 📁 Model file not found: nonexistent.gguf 💡 Try these options: 1. Download a model: edge_download_model('TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF', 'tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf') 2. Quick setup: edge_quick_setup('TinyLlama-1.1B') 3. List models: edge_list_models() 📁 Model file not found: nonexistent.gguf 💡 Try these options: 1. Download a model: edge_download_model('TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF', 'tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf') 2. Quick setup: edge_quick_setup('TinyLlama-1.1B') 3. List models: edge_list_models() 📁 Model file not found: nonexistent.gguf 💡 Try these options: 1. Download a model: edge_download_model('TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF', 'tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf') 2. Quick setup: edge_quick_setup('TinyLlama-1.1B') 3. List models: edge_list_models() 📁 Model file not found: nonexistent.gguf 💡 Try these options: 1. Download a model: edge_download_model('TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF', 'tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf') 2. Quick setup: edge_quick_setup('TinyLlama-1.1B') 3. List models: edge_list_models() 📁 Model file not found: nonexistent.gguf 💡 Try these options: 1. Download a model: edge_download_model('TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF', 'tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf') 2. Quick setup: edge_quick_setup('TinyLlama-1.1B') 3. List models: edge_list_models() 📁 Model file not found: nonexistent.gguf 💡 Try these options: 1. Download a model: edge_download_model('TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF', 'tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf') 2. Quick setup: edge_quick_setup('TinyLlama-1.1B') 3. List models: edge_list_models() 📁 Model file not found: nonexistent_model.gguf 💡 Try these options: 1. Download a model: edge_download_model('TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF', 'tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf') 2. Quick setup: edge_quick_setup('TinyLlama-1.1B') 3. List models: edge_list_models() 📁 Model file not found: test.gguf 💡 Try these options: 1. Download a model: edge_download_model('TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF', 'tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf') 2. Quick setup: edge_quick_setup('TinyLlama-1.1B') 3. List models: edge_list_models() 📁 Model file not found: test.gguf 💡 Try these options: 1. Download a model: edge_download_model('TheBloke/TinyLlama-1.1B-Chat-v1.0-GGUF', 'tinyllama-1.1b-chat-v1.0.Q4_K_M.gguf') 2. Quick setup: edge_quick_setup('TinyLlama-1.1B') 3. List models: edge_list_models() [ FAIL 25 | WARN 0 | SKIP 18 | PASS 81 ] ══ Skipped tests (18) ══════════════════════════════════════════════════════════ • No test model available for concurrency tests (1): 'test-error-handling.R:202:7' • No test model available for edge case tests (1): 'test-error-handling.R:172:7' • No test model available for integration tests (1): 'test-integration.R:43:7' • No test model available for memory constraint tests (1): 'test-error-handling.R:110:7' • No test model available for memory management tests (1): 'test-model-management.R:115:7' • No test model available for performance tests (1): 'test-integration.R:175:7' • No test model available for real model loading tests (1): 'test-model-loading.R:86:5' • No test model available for streaming tests (1): 'test-streaming.R:148:5' • No test model available for stress tests (1): 'test-integration.R:138:7' • No test model available for text completion tests (1): 'test-text-completion.R:114:5' • empty test (8): 'test-error-handling.R:1:1', 'test-integration.R:1:1', 'test-model-loading.R:1:1', 'test-model-management.R:127:3', 'test-model-management.R:1:1', 'test-model-management.R:148:1', 'test-streaming.R:1:1', 'test-text-completion.R:118:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-error-handling.R:5:5'): Invalid file paths are handled properly ── `edge_load_model("does_not_exist.gguf")` threw an error with unexpected message. Expected match: "Failed to load GGUF model" Actual message: "Model file does not exist: does_not_exist.gguf" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-error-handling.R:5:5 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─edgemodelr::edge_load_model("does_not_exist.gguf") ── Failure ('test-error-handling.R:11:5'): Invalid file paths are handled properly ── `edge_load_model("")` threw an error with unexpected message. Expected match: "model_path cannot be empty|Failed to load GGUF model" Actual message: "Model file does not exist: " Backtrace: ▆ 1. ├─testthat::expect_error(edge_load_model(""), "model_path cannot be empty|Failed to load GGUF model") at test-error-handling.R:11:5 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─edgemodelr::edge_load_model("") ── Failure ('test-error-handling.R:17:5'): Invalid file paths are handled properly ── `edge_load_model(NULL)` threw an error with unexpected message. Expected match: "model_path must be a string|Failed to load GGUF model" Actual message: "invalid 'file' argument" Backtrace: ▆ 1. ├─testthat::expect_error(edge_load_model(NULL), "model_path must be a string|Failed to load GGUF model") at test-error-handling.R:17:5 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─edgemodelr::edge_load_model(NULL) 7. └─base::file.exists(model_path) ── Failure ('test-error-handling.R:36:5'): Invalid parameters are rejected ───── `suppressWarnings(edge_load_model(dummy_path, n_ctx = -1))` threw an error with unexpected message. Expected match: "n_ctx must be positive|Failed to load GGUF model" Actual message: "Model file does not exist: dummy.gguf" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-error-handling.R:36:5 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─base::suppressWarnings(edge_load_model(dummy_path, n_ctx = -1)) 7. │ └─base::withCallingHandlers(...) 8. └─edgemodelr::edge_load_model(dummy_path, n_ctx = -1) ── Failure ('test-error-handling.R:42:5'): Invalid parameters are rejected ───── `suppressWarnings(edge_load_model(dummy_path, n_ctx = 0))` threw an error with unexpected message. Expected match: "n_ctx must be positive|Failed to load GGUF model" Actual message: "Model file does not exist: dummy.gguf" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-error-handling.R:42:5 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─base::suppressWarnings(edge_load_model(dummy_path, n_ctx = 0)) 7. │ └─base::withCallingHandlers(...) 8. └─edgemodelr::edge_load_model(dummy_path, n_ctx = 0) ── Failure ('test-error-handling.R:48:5'): Invalid parameters are rejected ───── `suppressWarnings(edge_load_model(dummy_path, n_ctx = 999999999))` threw an error with unexpected message. Expected match: "Failed to load GGUF model" Actual message: "Model file does not exist: dummy.gguf" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-error-handling.R:48:5 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─base::suppressWarnings(edge_load_model(dummy_path, n_ctx = 999999999)) 7. │ └─base::withCallingHandlers(...) 8. └─edgemodelr::edge_load_model(dummy_path, n_ctx = 999999999) ── Failure ('test-error-handling.R:54:5'): Invalid parameters are rejected ───── `suppressWarnings(edge_load_model(dummy_path, n_gpu_layers = -1))` threw an error with unexpected message. Expected match: "n_gpu_layers cannot be negative|Failed to load GGUF model" Actual message: "Model file does not exist: dummy.gguf" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-error-handling.R:54:5 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─base::suppressWarnings(edge_load_model(dummy_path, n_gpu_layers = -1)) 7. │ └─base::withCallingHandlers(...) 8. └─edgemodelr::edge_load_model(dummy_path, n_gpu_layers = -1) ── Failure ('test-error-handling.R:210:5'): Resource cleanup after errors ────── `edge_load_model("nonexistent.gguf")` threw an error with unexpected message. Expected match: "Failed to load GGUF model" Actual message: "Model file does not exist: nonexistent.gguf" Backtrace: ▆ 1. ├─testthat::expect_error(edge_load_model("nonexistent.gguf"), "Failed to load GGUF model") at test-error-handling.R:210:5 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─edgemodelr::edge_load_model("nonexistent.gguf") ── Failure ('test-error-handling.R:217:7'): Resource cleanup after errors ────── `suppressWarnings(edge_load_model("nonexistent.gguf"))` threw an error with unexpected message. Expected match: "Failed to load GGUF model" Actual message: "Model file does not exist: nonexistent.gguf" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-error-handling.R:217:7 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─base::suppressWarnings(edge_load_model("nonexistent.gguf")) 7. │ └─base::withCallingHandlers(...) 8. └─edgemodelr::edge_load_model("nonexistent.gguf") ── Failure ('test-error-handling.R:217:7'): Resource cleanup after errors ────── `suppressWarnings(edge_load_model("nonexistent.gguf"))` threw an error with unexpected message. Expected match: "Failed to load GGUF model" Actual message: "Model file does not exist: nonexistent.gguf" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-error-handling.R:217:7 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─base::suppressWarnings(edge_load_model("nonexistent.gguf")) 7. │ └─base::withCallingHandlers(...) 8. └─edgemodelr::edge_load_model("nonexistent.gguf") ── Failure ('test-error-handling.R:217:7'): Resource cleanup after errors ────── `suppressWarnings(edge_load_model("nonexistent.gguf"))` threw an error with unexpected message. Expected match: "Failed to load GGUF model" Actual message: "Model file does not exist: nonexistent.gguf" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-error-handling.R:217:7 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─base::suppressWarnings(edge_load_model("nonexistent.gguf")) 7. │ └─base::withCallingHandlers(...) 8. └─edgemodelr::edge_load_model("nonexistent.gguf") ── Failure ('test-error-handling.R:217:7'): Resource cleanup after errors ────── `suppressWarnings(edge_load_model("nonexistent.gguf"))` threw an error with unexpected message. Expected match: "Failed to load GGUF model" Actual message: "Model file does not exist: nonexistent.gguf" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-error-handling.R:217:7 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─base::suppressWarnings(edge_load_model("nonexistent.gguf")) 7. │ └─base::withCallingHandlers(...) 8. └─edgemodelr::edge_load_model("nonexistent.gguf") ── Failure ('test-error-handling.R:217:7'): Resource cleanup after errors ────── `suppressWarnings(edge_load_model("nonexistent.gguf"))` threw an error with unexpected message. Expected match: "Failed to load GGUF model" Actual message: "Model file does not exist: nonexistent.gguf" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-error-handling.R:217:7 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─base::suppressWarnings(edge_load_model("nonexistent.gguf")) 7. │ └─base::withCallingHandlers(...) 8. └─edgemodelr::edge_load_model("nonexistent.gguf") ── Failure ('test-integration.R:68:7'): Model listing and information consistency ── model$size_gb > 0 is not TRUE `actual`: `expected`: TRUE ── Failure ('test-integration.R:69:7'): Model listing and information consistency ── model$size_gb < 1000 is not TRUE `actual`: `expected`: TRUE Model size should be reasonable (< 1TB) ── Failure ('test-integration.R:73:7'): Model listing and information consistency ── nchar(model$description) > 10 is not TRUE `actual`: `expected`: TRUE ── Failure ('test-integration.R:68:7'): Model listing and information consistency ── model$size_gb > 0 is not TRUE `actual`: `expected`: TRUE ── Failure ('test-integration.R:69:7'): Model listing and information consistency ── model$size_gb < 1000 is not TRUE `actual`: `expected`: TRUE Model size should be reasonable (< 1TB) ── Failure ('test-integration.R:73:7'): Model listing and information consistency ── nchar(model$description) > 10 is not TRUE `actual`: `expected`: TRUE ── Failure ('test-integration.R:68:7'): Model listing and information consistency ── model$size_gb > 0 is not TRUE `actual`: `expected`: TRUE ── Failure ('test-integration.R:69:7'): Model listing and information consistency ── model$size_gb < 1000 is not TRUE `actual`: `expected`: TRUE Model size should be reasonable (< 1TB) ── Failure ('test-integration.R:73:7'): Model listing and information consistency ── nchar(model$description) > 10 is not TRUE `actual`: `expected`: TRUE ── Failure ('test-model-loading.R:10:5'): edge_list_models returns valid data ── "description" %in% colnames(models) is not TRUE `actual`: FALSE `expected`: TRUE ── Failure ('test-model-loading.R:15:5'): edge_load_model handles invalid paths ── `edge_load_model("nonexistent_model.gguf")` threw an error with unexpected message. Expected match: "Failed to load GGUF model" Actual message: "Model file does not exist: nonexistent_model.gguf" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-model-loading.R:15:5 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─edgemodelr::edge_load_model("nonexistent_model.gguf") ── Failure ('test-model-management.R:63:5'): edge_quick_setup parameter validation ── `edge_quick_setup(NULL)` threw an error with unexpected message. Expected match: "model_name must be a string" Actual message: "model_name cannot be empty" Backtrace: ▆ 1. ├─testthat::expect_error(edge_quick_setup(NULL), "model_name must be a string") at test-model-management.R:63:5 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─edgemodelr::edge_quick_setup(NULL) [ FAIL 25 | WARN 0 | SKIP 18 | PASS 81 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [1s/1s] OK * checking PDF version of manual ... [2s/2s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 4 WARNINGs, 6 NOTEs