- using R Under development (unstable) (2025-09-03 r88788 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 'LSX/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'LSX' version '1.4.5'
- 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 'LSX' can be installed ... OK
See the install log for details.
- 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 ... [3s] OK
- checking whether the package can be loaded with stated dependencies ... [3s] OK
- checking whether the package can be unloaded cleanly ... [3s] OK
- checking whether the namespace can be loaded with stated dependencies ... [3s] OK
- checking whether the namespace can be unloaded cleanly ... [3s] 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 contents of 'data' directory ... OK
- checking data for non-ASCII characters ... [2s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... [4s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [61s] ERROR
Running 'spelling.R' [0s]
Running 'testthat.R' [60s]
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
INFO [10:28:07.927] epoch 1, loss 0.1113
INFO [10:28:08.948] epoch 2, loss 0.0659
INFO [10:28:09.937] epoch 3, loss 0.0548
INFO [10:28:10.884] epoch 4, loss 0.0497
INFO [10:28:11.810] epoch 5, loss 0.0462
INFO [10:28:12.923] epoch 6, loss 0.0434
INFO [10:28:13.969] epoch 7, loss 0.0410
INFO [10:28:15.091] epoch 8, loss 0.0390
INFO [10:28:16.105] epoch 9, loss 0.0372
INFO [10:28:17.031] epoch 10, loss 0.0356
INFO [10:28:38.151] epoch 1, loss 0.0502
INFO [10:28:38.444] epoch 2, loss 0.0363
INFO [10:28:38.725] epoch 3, loss 0.0325
INFO [10:28:38.961] epoch 4, loss 0.0303
INFO [10:28:39.216] epoch 5, loss 0.0288
INFO [10:28:39.477] epoch 6, loss 0.0277
INFO [10:28:39.736] epoch 7, loss 0.0268
INFO [10:28:39.979] epoch 8, loss 0.0261
INFO [10:28:40.298] epoch 9, loss 0.0255
INFO [10:28:40.572] epoch 10, loss 0.0250
INFO [10:28:41.157] epoch 1, loss 0.0500
INFO [10:28:41.448] epoch 2, loss 0.0362
INFO [10:28:41.714] epoch 3, loss 0.0324
INFO [10:28:41.972] epoch 4, loss 0.0305
INFO [10:28:42.196] epoch 5, loss 0.0289
INFO [10:28:42.441] epoch 6, loss 0.0278
INFO [10:28:42.688] epoch 7, loss 0.0269
INFO [10:28:42.939] epoch 8, loss 0.0262
INFO [10:28:43.203] epoch 9, loss 0.0256
INFO [10:28:43.467] epoch 10, loss 0.0250
INFO [10:28:44.292] epoch 1, loss 0.0499
INFO [10:28:44.519] epoch 2, loss 0.0360
INFO [10:28:44.749] epoch 3, loss 0.0321
INFO [10:28:44.926] epoch 4, loss 0.0300
INFO [10:28:45.098] epoch 5, loss 0.0285
INFO [10:28:45.272] epoch 6, loss 0.0273
INFO [10:28:45.508] epoch 7, loss 0.0264
INFO [10:28:45.760] epoch 8, loss 0.0257
INFO [10:28:46.007] epoch 9, loss 0.0251
INFO [10:28:46.265] epoch 10, loss 0.0247
[ FAIL 1 | WARN 0 | SKIP 11 | PASS 221 ]
══ Skipped tests (11) ══════════════════════════════════════════════════════════
• On CRAN (10): 'test-as.textmodel.R:156:5', 'test-as.textmodel.R:178:5',
'test-textmodel.R:185:5', 'test-textmodel.R:192:5', 'test-textmodel.R:200:5',
'test-textmodel.R:240:5', 'test-textmodel.R:331:5', 'test-textmodel.R:414:5',
'test-textmodel.R:439:5', 'test-utils.R:62:3'
• empty test (1): 'test-textplot.R:36:1'
══ 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 11 | PASS 221 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [28s] OK
- checking HTML version of manual ... [4s] OK
- DONE
Status: 1 ERROR