Running examples in ‘rCBA-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: frameToRules
> ### Title: Conversion of 'data.frame' to 'rules' from 'arules'
> ### Aliases: frameToRules
> 
> ### ** Examples
> 
> library("rCBA")
> data("iris")
> 
> output <- rCBA::buildFPGrowth(iris[sample(nrow(iris), 20),], "Species", parallel=FALSE)
2019-04-01 11:38:37 rCBA: initialized
2019-04-01 11:38:37 rCBA: data 20x5
	 took: 0.01  s
Evaluate: 0.16414268639695817,0.36672846644234913,1
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 6
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1399153127742801,0.3263779087530263,1
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 6
Rules: 2
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.13112820911955655,0.26871809346256686,1
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (6)
Frequent patterns: 6
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.10707476501481605,0.2504444169148282,1
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 18
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09205311926332896,0.2314517345205108,1
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 18
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08995145690791644,0.21771301359884662,1
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 18
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08291235251971617,0.2032079599228952,1
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 18
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07810793864355112,0.1676336727863308,1
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 18
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07660368592904439,0.1451172358475607,1
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 18
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.07234562958902137,0.13265611068089508,1
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 18
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06432316865846004,0.12069269342934033,1
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 18
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06143894030893186,0.1091808005418298,1
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (18)
Frequent patterns: 18
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05258765298141232,0.09032887087394773,1
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.044638563494243735,0.08365815227987836,1
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03941075307855539,0.07989606818692606,1
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03463275425845722,0.06577466991922389,1
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03203626147454845,0.054857023085496705,1
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.028906650853796498,0.04990272055487406,1
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.026829586566276185,0.04944844721041108,1
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.023182003582047993,0.0468264490984989,1
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02263680019316665,0.04356934706122436,1
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.022457509580541327,0.04018828834308438,1
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.019048639626447494,0.038742246973565694,1
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:37 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01890033791750992,0.037097956274308216,1
Apr 01, 2019 11:38:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.017401890233168196,0.03318281513058688,1
Apr 01, 2019 11:38:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01452720565448118,0.03203807150965732,1
Apr 01, 2019 11:38:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.014436843771475714,0.02580946384057477,1
Apr 01, 2019 11:38:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01329377462331374,0.023036770271955543,1
Apr 01, 2019 11:38:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.010712423509612469,0.019885583130017873,1
Apr 01, 2019 11:38:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.009496244990608336,0.018504577549995568,1
Apr 01, 2019 11:38:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
Evaluate: 0.007664608441886876,0.017113231861013847,1
Apr 01, 2019 11:38:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Apr 01, 2019 11:38:38 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 51
Rules: 3
Cached
Final rules: 1
Accuracy: NaN
Best rules size: 0
2019-04-01 11:38:38 rCBA: rules 0
	 took: 0.61  s
> model <- as(output$model,"data.frame")
> 
> rules <- rCBA::frameToRules(model)
Error in `[.data.frame`(model, , 2:4) : undefined columns selected
Calls: <Anonymous> -> [ -> [.data.frame
Execution halted