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

> ### 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-03-31 06:54:31 rCBA: initialized
2019-03-31 06:54:31 rCBA: data 20x5
	 took: 0  s
Evaluate: 0.611697100408119,0.6810065144572689,3
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.5009682117243788,0.620555136013038,3
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.49872582315642344,0.5852484389492761,3
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.4421025840209828,0.5757120570277605,3
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.3594199563264616,0.5259194129790594,3
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (0)
Frequent patterns: 0
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.29816758002909255,0.5181574907852022,3
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (2)
Frequent patterns: 2
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.26723234386067696,0.41680401296799513,3
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (3)
Frequent patterns: 3
Rules: 0
Cached
Final rules: 0
Accuracy: NaN
Best rules size: 0
Evaluate: 0.22982144891862719,0.38978854238278493,3
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 1
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.20886275208443594,0.31495853496045884,3
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 3
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.17855217852079117,0.2521798952377623,3
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (5)
Frequent patterns: 6
Rules: 4
Cached
Final rules: 2
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1688978671094318,0.24601471681462064,3
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.1544397535557743,0.23675845060549072,3
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.12498316885966401,0.21607981938742457,3
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11766182718159007,0.1854266219706674,3
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (7)
Frequent patterns: 9
Rules: 5
Cached
Final rules: 3
Accuracy: NaN
Best rules size: 0
Evaluate: 0.11415741419381378,0.161345801808331,3
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 35
Rules: 17
Cached
Final rules: 5
Accuracy: NaN
Best rules size: 0
Evaluate: 0.09157929790713203,0.1346947684161334,3
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 35
Rules: 17
Cached
Final rules: 5
Accuracy: NaN
Best rules size: 0
Evaluate: 0.08487326641629761,0.1316810735618954,3
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 35
Rules: 17
Cached
Final rules: 5
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06959294652728779,0.12358021871065925,3
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 35
Rules: 17
Cached
Final rules: 5
Accuracy: NaN
Best rules size: 0
Evaluate: 0.06116807029287106,0.10159456416998264,3
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (17)
Frequent patterns: 35
Rules: 17
Cached
Final rules: 5
Accuracy: NaN
Best rules size: 0
Evaluate: 0.05206340534735683,0.08430549230493727,3
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.045531267329967255,0.07435828832635256,3
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.03642810821213547,0.06129224304163822,3
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.029517306181970876,0.05481114658495137,3
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:31 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.0276709071213273,0.04523131821660909,3
Mar 31, 2019 6:54:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.025245914488448574,0.03856886702709668,3
Mar 31, 2019 6:54:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.02037381641274887,0.032544683397116046,3
Mar 31, 2019 6:54:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.019679056269577493,0.026546915303674135,3
Mar 31, 2019 6:54:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.01627599071650606,0.02337863805119224,3
Mar 31, 2019 6:54:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.013265280190430802,0.019509656305809444,3
Mar 31, 2019 6:54:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.012260769185958396,0.019157675718996178,3
Mar 31, 2019 6:54:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
Evaluate: 0.011190025921399912,0.017339792754232662,3
Mar 31, 2019 6:54:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: start
Mar 31, 2019 6:54:32 AM cz.jkuchar.rcba.fpg.FPGrowth run
INFO: FPG: tree built (51)
Frequent patterns: 370
Rules: 156
Cached
Final rules: 10
Accuracy: NaN
Best rules size: 0
2019-03-31 06:54:32 rCBA: rules 0
	 took: 1.62  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