* using log directory 'd:/Rcompile/CRANpkg/local/4.4/gKRLS.Rcheck' * using R version 4.4.2 (2024-10-31 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 'gKRLS/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'gKRLS' version '1.0.3' * 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 'gKRLS' can be installed ... OK * used C++ compiler: 'g++.exe (GCC) 13.3.0' * checking installed package size ... OK * checking package 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 ... [2s] OK * checking whether the package can be loaded with stated dependencies ... [2s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [3s] 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 ... [9s] 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 pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking examples ... [10s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [65s] ERROR Running 'testthat.R' [65s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(gKRLS) Loading required package: mgcv Loading required package: nlme This is mgcv 1.9-1. For overview type 'help("mgcv-package")'. Loading required package: sandwich > > test_check("gKRLS") INFO [15:02:21.657] [mlr3] Applying learner 'classif.bam' on task 'nuis_m' (iter 1/2) INFO [15:02:22.032] [mlr3] Applying learner 'classif.bam' on task 'nuis_m' (iter 2/2) INFO [15:02:22.471] [mlr3] Applying learner 'regr.bam' on task 'nuis_g0' (iter 1/2) INFO [15:02:22.677] [mlr3] Applying learner 'regr.bam' on task 'nuis_g0' (iter 2/2) INFO [15:02:22.990] [mlr3] Applying learner 'regr.bam' on task 'nuis_g1' (iter 1/2) INFO [15:02:23.224] [mlr3] Applying learner 'regr.bam' on task 'nuis_g1' (iter 2/2) Bivariate smoothing example Bivariate smoothing example [1] "derivative" [1] "second_derivative" Distribution of Pointwise Marginal Effects: N = 200 (Intercept) x1 x2 25% -0.001900025 -0.1139238 -0.07130014 50% -0.001843025 0.0601889 -0.05431280 75% -0.001574822 0.2717062 -0.02734085 Summary of Average Marginal Effects est se t.stat p.value (Intercept) -0.001673628 0.20599894 -0.008124448 0.993526152 x1 0.098231155 0.03707063 2.649837808 0.008725682 x2 -0.047751134 0.03785936 -1.261276968 0.208742462 variable type est se t p.value 1 x1 derivative 0.09823115 0.03707063 2.649838 0.008725682 2 x2 derivative -0.04775113 0.03785949 -1.261273 0.208744025 [ FAIL 1 | WARN 0 | SKIP 0 | PASS 203 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_basic_kernel.R:154:3'): Test custom vector ───────────────────── Error in `loadNamespace(x)`: there is no package called 'vctrs' Backtrace: ▆ 1. ├─testthat::expect_vector(v, size = 5) at test_basic_kernel.R:154:3 2. │ └─base::tryCatch(...) 3. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 6. └─base::loadNamespace(x) 7. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 8. └─base (local) withOneRestart(expr, restarts[[1L]]) 9. └─base (local) doWithOneRestart(return(expr), restart) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 203 ] Error: Test failures Execution halted * checking PDF version of manual ... [21s] OK * checking HTML version of manual ... [2s] OK * DONE Status: 1 ERROR