Running ‘testthat.R’ [22s/26s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(mfe)
  > 
  > test_check("mfe")
  ── 1. Error: infotheo.result (@test_infotheo.R#5)  ─────────────────────────────
  undefined columns selected
  Backtrace:
    1. mfe::infotheo(Species ~ ., iris)
    2. mfe:::infotheo.formula(Species ~ ., iris)
    3. mfe:::infotheo.default(...)
    4. base::sapply(...)
    5. base::lapply(X = X, FUN = FUN, ...)
    6. mfe:::FUN(X[[i]], ...)
    8. mfe:::m.attrConc(...)
    9. base::mapply(...)
   14. base::`[.data.frame`(x, , j)
  
  ── 2. Error: transform.false.result (@test_infotheo.R#25)  ─────────────────────
  undefined columns selected
  Backtrace:
    1. testthat::expect_named(...)
    5. mfe:::infotheo.formula(Species ~ ., data, ls.infotheo()[1:3])
    6. mfe:::infotheo.default(...)
    7. base::sapply(...)
    8. base::lapply(X = X, FUN = FUN, ...)
    9. mfe:::FUN(X[[i]], ...)
   11. mfe:::m.attrConc(...)
   12. base::mapply(...)
   17. base::`[.data.frame`(x, , j)
  
  ── 3. Error: multiclass.result (@test_metafeatures.R#6)  ───────────────────────
  undefined columns selected
  Backtrace:
    1. mfe::metafeatures(Species ~ ., iris)
    2. mfe:::metafeatures.formula(Species ~ ., iris)
    3. mfe:::metafeatures.default(...)
    5. base::sapply(...)
    6. base::lapply(X = X, FUN = FUN, ...)
    7. mfe:::FUN(X[[i]], ...)
    9. mfe:::infotheo.default(...)
   10. base::sapply(...)
   11. base::lapply(X = X, FUN = FUN, ...)
   12. mfe:::FUN(X[[i]], ...)
   14. mfe:::m.attrConc(...)
   15. base::mapply(...)
   20. base::`[.data.frame`(x, , j)
  
  ── 4. Error: binary.result (@test_metafeatures.R#18)  ──────────────────────────
  undefined columns selected
  Backtrace:
    1. mfe::metafeatures(Species ~ ., iris)
    2. mfe:::metafeatures.formula(Species ~ ., iris)
    3. mfe:::metafeatures.default(...)
    5. base::sapply(...)
    6. base::lapply(X = X, FUN = FUN, ...)
    7. mfe:::FUN(X[[i]], ...)
    9. mfe:::infotheo.default(...)
   10. base::sapply(...)
   11. base::lapply(X = X, FUN = FUN, ...)
   12. mfe:::FUN(X[[i]], ...)
   14. mfe:::m.attrConc(...)
   15. base::mapply(...)
   20. base::`[.data.frame`(x, , j)
  
  ── 5. Error: groups.result (@test_metafeatures.R#27)  ──────────────────────────
  undefined columns selected
  Backtrace:
    1. mfe::metafeatures(...)
    2. mfe:::metafeatures.formula(...)
    3. mfe:::metafeatures.default(...)
    5. base::sapply(...)
    6. base::lapply(X = X, FUN = FUN, ...)
    7. mfe:::FUN(X[[i]], ...)
    9. mfe:::infotheo.default(...)
   10. base::sapply(...)
   11. base::lapply(X = X, FUN = FUN, ...)
   12. mfe:::FUN(X[[i]], ...)
   14. mfe:::m.attrConc(...)
   15. base::mapply(...)
   20. base::`[.data.frame`(x, , j)
  
  ── 6. Error: all.result (@test_metafeatures.R#45)  ─────────────────────────────
  undefined columns selected
  Backtrace:
    1. mfe::metafeatures(Species ~ ., iris, "all")
    2. mfe:::metafeatures.formula(Species ~ ., iris, "all")
    3. mfe:::metafeatures.default(...)
    5. base::sapply(...)
    6. base::lapply(X = X, FUN = FUN, ...)
    7. mfe:::FUN(X[[i]], ...)
    9. mfe:::infotheo.default(...)
   10. base::sapply(...)
   11. base::lapply(X = X, FUN = FUN, ...)
   12. mfe:::FUN(X[[i]], ...)
   14. mfe:::m.attrConc(...)
   15. base::mapply(...)
   20. base::`[.data.frame`(x, , j)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 87 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 6 ]
  1. Error: infotheo.result (@test_infotheo.R#5) 
  2. Error: transform.false.result (@test_infotheo.R#25) 
  3. Error: multiclass.result (@test_metafeatures.R#6) 
  4. Error: binary.result (@test_metafeatures.R#18) 
  5. Error: groups.result (@test_metafeatures.R#27) 
  6. Error: all.result (@test_metafeatures.R#45) 
  
  Error: testthat unit tests failed
  Execution halted