* using log directory 'd:/RCompile/CRANincoming/R-devel/edgemodelr.Rcheck' * using R Under development (unstable) (2025-09-02 r88773 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: Pretrained (9:17) * 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: ./ggml/ggml.h:285:35: warning: control reaches end of non-void function [-Wreturn-type] ggml/ggml-impl.h:288:1: warning: control reaches end of non-void function [-Wreturn-type] ggml/ggml-impl.h:309:1: warning: control reaches end of non-void function [-Wreturn-type] ggml/ggml.h:285:35: warning: control reaches end of non-void function [-Wreturn-type] ggml/ggml-cpu/ggml-cpu.c:895:1: warning: control reaches end of non-void function [-Wreturn-type] ggml/ggml-cpu/ggml-cpu.c:960:1: warning: control reaches end of non-void function [-Wreturn-type] ggml/ggml-cpu/ggml-cpu.c:1032:1: warning: control reaches end of non-void function [-Wreturn-type] ggml/ggml-cpu/ggml-cpu.c:1091:1: warning: control reaches end of non-void function [-Wreturn-type] 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 ... NOTE Non-standard file/directory found at top level: 'LICENSE.md' * 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 ... NOTE Files which contain pragma(s) suppressing diagnostics: 'src/bindings.cpp' 'src/ggml/ggml-impl.h' 'src/ggml/ggml.c' * checking compilation flags used ... WARNING Compilation used the following non-portable flag(s): '-Wno-unused-function' '-Wno-unused-parameter' '-Wno-unused-variable' including flag(s) suppressing warnings * checking compiled code ... OK * checking examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [59s] ERROR Running 'testthat.R' [59s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(edgemodelr) > > test_check("edgemodelr") [ FAIL 7 | WARN 1 | SKIP 2 | PASS 381 ] ══ 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:73:3'): edge_stream_completion function signature and validation ── Error: Error during streaming completion: Invalid model context Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-streaming.R:73:3 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(...) ── Error ('test-streaming.R:165:3'): edge_stream_completion parameter validation ── Error: Error during streaming completion: Invalid model context Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-streaming.R:165:3 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(NULL, "test", function(x) TRUE) 8. └─edgemodelr:::edge_completion_stream_internal(...) ── Failure ('test-streaming.R:212:9'): Streaming prompt validation ───────────── grepl("could not find function", e$message) is not TRUE `actual`: FALSE `expected`: TRUE Backtrace: ▆ 1. ├─testthat::expect_silent(...) at test-streaming.R:206:5 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. └─base::tryCatch(...) at test-streaming.R:208:7 10. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. └─value[[3L]](cond) 13. └─testthat::expect_true(grepl("could not find function", e$message)) at test-streaming.R:212:9 ── Failure ('test-streaming.R:212:9'): Streaming prompt validation ───────────── grepl("could not find function", e$message) is not TRUE `actual`: FALSE `expected`: TRUE Backtrace: ▆ 1. ├─testthat::expect_silent(...) at test-streaming.R:206:5 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. └─base::tryCatch(...) at test-streaming.R:208:7 10. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. └─value[[3L]](cond) 13. └─testthat::expect_true(grepl("could not find function", e$message)) at test-streaming.R:212:9 ── Failure ('test-streaming.R:212:9'): Streaming prompt validation ───────────── grepl("could not find function", e$message) is not TRUE `actual`: FALSE `expected`: TRUE Backtrace: ▆ 1. ├─testthat::expect_silent(...) at test-streaming.R:206:5 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. └─base::tryCatch(...) at test-streaming.R:208:7 10. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. └─value[[3L]](cond) 13. └─testthat::expect_true(grepl("could not find function", e$message)) at test-streaming.R:212:9 ── Failure ('test-streaming.R:212:9'): Streaming prompt validation ───────────── grepl("could not find function", e$message) is not TRUE `actual`: FALSE `expected`: TRUE Backtrace: ▆ 1. ├─testthat::expect_silent(...) at test-streaming.R:206:5 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. └─base::tryCatch(...) at test-streaming.R:208:7 10. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. └─value[[3L]](cond) 13. └─testthat::expect_true(grepl("could not find function", e$message)) at test-streaming.R:212:9 ── Failure ('test-streaming.R:212:9'): Streaming prompt validation ───────────── grepl("could not find function", e$message) is not TRUE `actual`: FALSE `expected`: TRUE Backtrace: ▆ 1. ├─testthat::expect_silent(...) at test-streaming.R:206:5 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. └─base::tryCatch(...) at test-streaming.R:208:7 10. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. └─value[[3L]](cond) 13. └─testthat::expect_true(grepl("could not find function", e$message)) at test-streaming.R:212:9 [ FAIL 7 | WARN 1 | SKIP 2 | PASS 381 ] Error: Test failures Execution halted * checking PDF version of manual ... [13s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 2 WARNINGs, 3 NOTEs