Running 'testthat.R' [9s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library("testthat")
  > library("arulesCBA")
  Loading required package: Matrix
  Loading required package: arules
  
  Attaching package: 'arules'
  
  The following objects are masked from 'package:base':
  
      abbreviate, write
  
  > 
  > testthat::test_check("arulesCBA")
  Apriori
  
  Parameter specification:
   confidence minval smax arem  aval originalSupport maxtime support minlen
          0.8    0.1    1 none FALSE            TRUE       5    0.01      1
   maxlen target  ext
        5  rules TRUE
  
  Algorithmic control:
   filter tree heap memopt load sort verbose
      0.1 TRUE TRUE  FALSE TRUE    2    TRUE
  
  Absolute minimum support count: 1 
  
  set item appearances ...[14 item(s)] done [0.00s].
  set transactions ...[14 item(s), 120 transaction(s)] done [0.00s].
  sorting and recoding items ... [14 item(s)] done [0.00s].
  creating transaction tree ... done [0.00s].
  checking subsets of size 1 2 3 4 5 done [0.00s].
  writing ... [71 rule(s)] done [0.00s].
  creating S4 object  ... done [0.00s].
  CBA Classifier Object
  Class: 
  Default Class: NA
  Number of rules: 6
  Classification method: first  
  Description: CBA algorithm (Liu et al., 1998)
  
  Accuracy: 0.96 
  CBA Classifier Object
  Class: 
  Default Class: setosa
  Number of rules: 9
  Classification method: weighted by laplace - using best 5 rules
  Description: FOIL-based classifier (Yin and Han, 2003)
  
  Accuracy: 0.953 
  CBA Classifier Object
  Class: 
  Default Class: NA
  Number of rules: 8
  Classification method: logit  
  Description: RCAR+ based on RCAR (Azmi et al., 2019)
  
  Accuracy: 0.96 
  -- 1. Error: (unknown) (@test-classifiers.R#16)  -------------------------------
  .onLoad failed in loadNamespace() for 'rJava', details:
    call: library.dynam("rJava", pkgname, libname)
    error: DLL 'rJava' not found: maybe not installed for this architecture?
  Backtrace:
    1. arulesCBA:::cl(Species ~ ., dat)
    2. arulesCBA:::.rules_RWeka(...)
    3. RWeka::Weka_control
    4. base::getExportedValue(pkg, name)
    5. base::asNamespace(ns)
    6. base::getNamespace(ns)
    7. base::loadNamespace(name)
    9. base::loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
   12. base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]])
   13. base:::runHook(".onLoad", env, package.lib, package)
  
  == testthat results  ===========================================================
  [ OK: 10 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
  1. Error: (unknown) (@test-classifiers.R#16) 
  
  Error: testthat unit tests failed
  Execution halted