Running 'spelling.R' [0s]
  Running 'testthat.R' [109s]
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 56 threads used.
  See https://quanteda.io for tutorials and examples.
  > quanteda_options(threads = 2)
  > test_check("LSX")
  Loading required package: LSX
  INFO  [11:29:53.247] epoch 1, loss 0.1110
  INFO  [11:29:54.552] epoch 2, loss 0.0655
  INFO  [11:29:55.690] epoch 3, loss 0.0546
  INFO  [11:29:56.879] epoch 4, loss 0.0494
  INFO  [11:29:58.044] epoch 5, loss 0.0459
  INFO  [11:29:59.255] epoch 6, loss 0.0431
  INFO  [11:30:00.410] epoch 7, loss 0.0407
  INFO  [11:30:01.596] epoch 8, loss 0.0387
  INFO  [11:30:02.842] epoch 9, loss 0.0369
  INFO  [11:30:03.968] epoch 10, loss 0.0354
  INFO  [11:30:53.134] epoch 1, loss 0.0502
  INFO  [11:30:53.403] epoch 2, loss 0.0364
  INFO  [11:30:53.675] epoch 3, loss 0.0328
  INFO  [11:30:53.963] epoch 4, loss 0.0307
  INFO  [11:30:54.248] epoch 5, loss 0.0292
  INFO  [11:30:54.536] epoch 6, loss 0.0280
  INFO  [11:30:54.826] epoch 7, loss 0.0270
  INFO  [11:30:55.093] epoch 8, loss 0.0262
  INFO  [11:30:55.364] epoch 9, loss 0.0256
  INFO  [11:30:55.625] epoch 10, loss 0.0250
  INFO  [11:30:56.333] epoch 1, loss 0.0503
  INFO  [11:30:56.618] epoch 2, loss 0.0364
  INFO  [11:30:56.856] epoch 3, loss 0.0327
  INFO  [11:30:57.076] epoch 4, loss 0.0305
  INFO  [11:30:57.381] epoch 5, loss 0.0289
  INFO  [11:30:57.664] epoch 6, loss 0.0278
  INFO  [11:30:57.946] epoch 7, loss 0.0269
  INFO  [11:30:58.218] epoch 8, loss 0.0262
  INFO  [11:30:58.512] epoch 9, loss 0.0256
  INFO  [11:30:58.737] epoch 10, loss 0.0251
  INFO  [11:30:59.491] epoch 1, loss 0.0504
  INFO  [11:30:59.736] epoch 2, loss 0.0364
  INFO  [11:30:59.978] epoch 3, loss 0.0326
  INFO  [11:31:00.186] epoch 4, loss 0.0305
  INFO  [11:31:00.449] epoch 5, loss 0.0290
  INFO  [11:31:00.721] epoch 6, loss 0.0278
  INFO  [11:31:00.991] epoch 7, loss 0.0269
  INFO  [11:31:01.262] epoch 8, loss 0.0261
  INFO  [11:31:01.550] epoch 9, loss 0.0255
  INFO  [11:31:01.811] epoch 10, loss 0.0250
  [ 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