Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [83s/85s]
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: 16.0
  ICU version: 76.1
  Parallel computing: 3 of 64 threads used.
  See https://quanteda.io for tutorials and examples.
  > quanteda_options(threads = 2)
  > test_check("LSX")
  Loading required package: LSX
  [ FAIL 1 | WARN 0 | SKIP 13 | PASS 222 ]
  
  ══ Skipped tests (13) ══════════════════════════════════════════════════════════
  • On CRAN (12): 'test-as.textmodel.R:161:5', 'test-as.textmodel.R:183: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'
  • empty test (1): 'test-textplot.R:37: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 13 | PASS 222 ]
  Error: Test failures
  Execution halted