* using log directory 'd:/Rcompile/CRANpkg/local/4.5/CGGP.Rcheck' * using R Under development (unstable) (2025-01-18 r87593 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'CGGP/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'CGGP' version '1.0.4' * package encoding: UTF-8 * 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 'CGGP' can be installed ... OK * used C++ compiler: 'g++.exe (GCC) 13.3.0' * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... 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 ... [0s] OK * checking whether the package can be loaded with stated dependencies ... [0s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [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 ... [12s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... 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 pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [12s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [175s] ERROR Running 'testthat.R' [175s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(CGGP) > > test_check("CGGP") [ FAIL 1 | WARN 2 | SKIP 0 | PASS 695 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('testpred.R:120:3'): Prediction matches exact on small samples ───── SGpred$mean not equal to `expred`. 47/50 mismatches (average diff: 1.17) [1] 114.1 - 112.1 == 1.9638 [2] 27.4 - 26.9 == 0.5114 [3] 83.3 - 82.5 == 0.8053 [4] 110.3 - 109.4 == 0.9063 [5] 97.2 - 94.7 == 2.4617 [6] 77.3 - 76.8 == 0.5064 [7] 97.2 - 95.2 == 2.0469 [8] 102.0 - 100.2 == 1.8401 [9] 167.9 - 167.9 == -0.0208 ... [ FAIL 1 | WARN 2 | SKIP 0 | PASS 695 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [11s] OK * checking PDF version of manual ... [23s] OK * checking HTML version of manual ... [7s] OK * DONE Status: 1 ERROR