Running ‘testthat.R’ [11s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(FSelectorRcpp)
  > library(Matrix)
  > library(Rcpp)
  > library(RcppArmadillo)
  > library(dplyr)
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  > library(entropy)
  
  Attaching package: 'entropy'
  
  The following object is masked from 'package:FSelectorRcpp':
  
      discretize
  
  > library(lintr)
  > 
  > test_check("FSelectorRcpp")
  ── ERROR (test-cutoff.R:14:5): Cutoff - test ───────────────────────────────────
  Error: cannot xtfrm 'x'
  Backtrace:
      █
   1. └─FSelector::cutoff.k(testDataFrame[, 2, drop = FALSE], 1894) test-cutoff.R:14:4
   2.   └─base::order(attrs, decreasing = TRUE)
   3.     └─base::lapply(z, function(x) if (is.object(x)) as.vector(xtfrm(x)) else x)
   4.       └─base:::FUN(X[[i]], ...)
   5.         ├─base::as.vector(xtfrm(x))
   6.         ├─base::xtfrm(x)
   7.         └─base::xtfrm.default(x)
  
  ── Skip (test-discretize_transform.R:21:1): Print FsDiscretizeTransformer ──────
  Reason: empty test
  
  ── Warning (test-information_gain.R:97:3): Removing NAs in formula (order) ─────
  `data_frame()` is deprecated as of tibble 1.1.0.
  Please use `tibble()` instead.
  This warning is displayed once every 8 hours.
  Call `lifecycle::last_warnings()` to see where this warning was generated.
  
  ── Skip (test-param-search.R:9:3): Exhaustive search ───────────────────────────
  Reason: On CRAN
  
  ── Skipped tests  ──────────────────────────────────────────────────────────────
  ● On CRAN (1)
  ● empty test (1)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  ERROR (test-cutoff.R:14:5): Cutoff - test
  Warning (test-information_gain.R:97:3): Removing NAs in formula (order)
  
  [ FAIL 1 | WARN 1 | SKIP 2 | PASS 131 ]
  Error: Test failures
  Execution halted