'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
Namespace in Imports field not imported from: ‘rJava’
  All declared Imports should be used.
'LazyData' is specified without a 'data' directory
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(NoiseFiltersR)
  > 
  > test_check("NoiseFiltersR")
  [ FAIL 1 | WARN 0 | SKIP 1 | PASS 4 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-hybridRepairFilter.r:5:1): (code run outside of `test_that()`) ──
  Error in `dim(trainn) == dim(test) && all(trainn == test)`: 'length = 2' in coercion to 'logical(1)'
  Backtrace:
      ▆
   1. ├─NoiseFiltersR::hybridRepairFilter(...) at test-hybridRepairFilter.r:5:0
   2. └─NoiseFiltersR:::hybridRepairFilter.formula(...)
   3.   └─NoiseFiltersR:::hybridRepairFilter.default(...)
   4.     └─NoiseFiltersR:::predictions(trainn = x, test = x, formu)
   5.       └─base::sapply(...)
   6.         └─base::lapply(X = X, FUN = FUN, ...)
   7.           └─NoiseFiltersR FUN(X[[i]], ...)
  
  [ FAIL 1 | WARN 0 | SKIP 1 | PASS 4 ]
  Error: Test failures
  Execution halted
Namespace in Imports field not imported from: ‘rJava’
  All declared Imports should be used.
'LazyData' is specified without a 'data' directory
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(NoiseFiltersR)
  > 
  > test_check("NoiseFiltersR")
  [ FAIL 1 | WARN 0 | SKIP 1 | PASS 4 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-hybridRepairFilter.r:5:1): (code run outside of `test_that()`) ──
  Error in `dim(trainn) == dim(test) && all(trainn == test)`: 'length = 2' in coercion to 'logical(1)'
  Backtrace:
      ▆
   1. ├─NoiseFiltersR::hybridRepairFilter(...) at test-hybridRepairFilter.r:5:0
   2. └─NoiseFiltersR:::hybridRepairFilter.formula(...)
   3.   └─NoiseFiltersR:::hybridRepairFilter.default(...)
   4.     └─NoiseFiltersR:::predictions(trainn = x, test = x, formu)
   5.       └─base::sapply(...)
   6.         └─base::lapply(X = X, FUN = FUN, ...)
   7.           └─NoiseFiltersR FUN(X[[i]], ...)
  
  [ FAIL 1 | WARN 0 | SKIP 1 | PASS 4 ]
  Error: Test failures
  Execution halted
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
Namespace in Imports field not imported from: ‘rJava’
  All declared Imports should be used.
'LazyData' is specified without a 'data' directory
Namespace in Imports field not imported from: ‘rJava’
  All declared Imports should be used.
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
Namespace in Imports field not imported from: ‘rJava’
  All declared Imports should be used.
'LazyData' is specified without a 'data' directory
Namespace in Imports field not imported from: ‘rJava’
  All declared Imports should be used.
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory