* using log directory 'd:/RCompile/CRANincoming/R-devel/edgemodelr.Rcheck' * using R Under development (unstable) (2025-09-01 r88761 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * 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 ... NOTE Maintainer: 'Pawan Rama Mali ' New submission Possibly misspelled words in DESCRIPTION: Pre (9:16) * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'edgemodelr' can be installed ... WARNING Found the following significant warnings: D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.2.0/include/c++/bits/regex.h:1922:55: warning: array subscript -3 is outside array bounds of 'std::__cxx11::sub_match [384307168202282325]' [-Warray-bounds=] D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.2.0/include/c++/bits/regex.h:1922:55: warning: array subscript -3 is outside array bounds of 'std::__cxx11::sub_match [384307168202282325]' [-Warray-bounds=] See 'd:/RCompile/CRANincoming/R-devel/edgemodelr.Rcheck/00install.out' for details. * used C++ compiler: 'g++.exe (GCC) 14.2.0' * checking C++ specification ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... 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 ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * 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 ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [255s] ERROR Running 'testthat.R' [255s] Running the tests in 'tests/testthat.R' failed. Complete output: > 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 * checking PDF version of manual ... [20s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 1 WARNING, 1 NOTE