Running ‘testthat.R’ [31s/46s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rainette)
  
  Attaching package: 'rainette'
  
  The following object is masked from 'package:stats':
  
      cutree
  
  > 
  > test_check("rainette")
  [ FAIL 1 | WARN 0 | SKIP 2 | PASS 182 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (1)
  • quanteda.textmodels cannot be loaded (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_cutree.R:35:3'): rainette2_complete_groups ─────────────────────
  Error in `get.knnx(data = train, query = test, k = k, algorithm)`: DLL requires the use of native symbols
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test_cutree.R:35:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─rainette::rainette2_complete_groups(dtm, groups)
   5.   └─FNN::knn(train, test, train_groups, k = k, ...)
   6.     └─FNN::get.knnx(data = train, query = test, k = k, algorithm)
  
  [ FAIL 1 | WARN 0 | SKIP 2 | PASS 182 ]
  Deleting unused snapshots:
  • plots/base-rainette-plot-measure-docprop.svg
  • plots/base-rainette-plot-measure-frequency.svg
  • plots/base-rainette-plot-measure-lr.svg
  • plots/base-rainette-plot-with-free-scales.svg
  • plots/base-rainette-plot-with-k-and-without-negative.svg
  • plots/base-rainette-plot-with-k-n-terms-and-font-size.svg
  • plots/base-rainette-plot.svg
  • plots/base-rainette2-plot-measure-docprop.svg
  • plots/base-rainette2-plot-measure-frequency.svg
  • plots/base-rainette2-plot-measure-lr.svg
  • plots/base-rainette2-plot-with-complete-groups.svg
  • plots/base-rainette2-plot-with-free-scales.svg
  • plots/base-rainette2-plot-with-k-5.svg
  • plots/base-rainette2-plot-with-k-and-without-negative.svg
  • plots/base-rainette2-plot-with-k-n-terms-and-font-size.svg
  • plots/base-rainette2-plot.svg
  Error: Test failures
  Execution halted