* 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 ... OK * 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 ... WARNING Non-portable flags in variable 'PKG_CFLAGS': -Wno-array-bounds -Wno-unused-function -Wno-unused-variable -Wno-unused-parameter Non-portable flags in variable 'PKG_CXXFLAGS': -Wno-array-bounds -Wno-unused-function -Wno-unused-local-typedefs -Wno-unused-variable -Wno-unused-parameter * 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 ... WARNING Compilation used the following non-portable flag(s): '-Wno-array-bounds' '-Wno-unused-function' '-Wno-unused-local-typedefs' '-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 ... [69s] ERROR Running 'testthat.R' [68s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(edgemodelr) > > test_check("edgemodelr") [ FAIL 1 | WARN 1 | SKIP 2 | PASS 462 ] ══ 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:196:13'): edge_stream_completion handles callback errors ── Error in `(function (data) { if (!data$is_final && data$position == 2) { stop("Test error") } return(TRUE) })(list(token = "\n", position = 2L, is_final = FALSE, total_tokens = 2L))`: Test error Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-streaming.R:192:5 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(...) 9. └─edgemodelr (local) ``(``) [ FAIL 1 | WARN 1 | SKIP 2 | PASS 462 ] Error: Test failures Execution halted * checking PDF version of manual ... [13s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 2 WARNINGs, 1 NOTE