* using log directory 'd:/RCompile/CRANincoming/R-devel/LSX.Rcheck' * using R Under development (unstable) (2025-12-07 r89119 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'LSX/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'LSX' version '1.5.1' * package encoding: UTF-8 * checking CRAN incoming feasibility ... OK * 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 'LSX' can be installed ... 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 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 ... [13s] NOTE as.textmodel_lss.textmodel_wordvector: no visible global function definition for 'packageVersion' Undefined global functions or variables: packageVersion Consider adding importFrom("utils", "packageVersion") to your NAMESPACE file. * 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [59s] ERROR Running 'spelling.R' Running 'testthat.R' [58s] Running the tests in 'tests/testthat.R' failed. Complete output: > require(testthat) Loading required package: testthat > require(quanteda) Loading required package: quanteda Package version: 4.3.1 Unicode version: 15.1 ICU version: 74.1 Parallel computing: 2 of 48 threads used. See https://quanteda.io for tutorials and examples. > quanteda_options(threads = 2) > test_check("LSX") Loading required package: LSX Saving _problems/test-utils-141.R [ FAIL 1 | WARN 0 | SKIP 13 | PASS 231 ] ══ Skipped tests (13) ══════════════════════════════════════════════════════════ • On CRAN (12): 'test-as.textmodel.R:163:5', 'test-as.textmodel.R:185:5', 'test-textmodel_lss.R:185:5', 'test-textmodel_lss.R:192:5', 'test-textmodel_lss.R:200:5', 'test-textmodel_lss.R:240:5', 'test-textmodel_lss.R:331:5', 'test-textmodel_lss.R:414:5', 'test-textmodel_lss.R:439:5', 'test-textmodel_lss2.R:14:3', 'test-textmodel_lss2.R:83:3', 'test-utils.R:62:3' • packageVersion("wordvector") >= "0.6.0" is not TRUE (1): 'test-as.textmodel.R:101:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-utils.R:141:3'): smooth_lss works with multiple grouping variables ── Error in `predLoess(object$y, object$x, newx = if (is.null(newdata)) object$x else if (is.data.frame(newdata)) as.matrix(model.frame(delete.response(terms(object)), newdata, na.action = na.action)) else as.matrix(newdata), object$s, object$weights, object$robust, op$span, op$degree, op$normalize, op$parametric, op$drop.square, op$surface, op$cell, op$family, object$kd, object$divisor, se = se)`: NA/NaN/Inf in foreign function call (arg 5) Backtrace: ▆ 1. └─LSX::smooth_lss(dat, groups = c("class1", "class2")) at test-utils.R:141:3 2. └─base::lapply(...) 3. └─LSX (local) FUN(X[[i]], ...) 4. └─LSX:::smooth_data(y, dummy, span, engine, ...) 5. ├─base::suppressWarnings(...) 6. │ └─base::withCallingHandlers(...) 7. ├─stats::predict(...) 8. └─stats:::predict.loess(...) 9. └─stats:::predLoess(...) [ FAIL 1 | WARN 0 | SKIP 13 | PASS 231 ] Error: ! Test failures. Execution halted * checking PDF version of manual ... [18s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 1 NOTE