Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [50s/55s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(MachineLearning)
  > 
  > test_check("MachineLearning")
  Apriori
  
  Parameter specification:
   confidence minval smax arem  aval originalSupport maxtime support minlen
          0.1    0.1    1 none FALSE            TRUE       5     0.2      2
   maxlen target   ext
       10  rules FALSE
  
  Algorithmic control:
   filter tree heap memopt load sort verbose
      0.1 TRUE TRUE  FALSE TRUE    2    TRUE
  
  Absolute minimum support count: 3054 
  
  set item appearances ...[0 item(s)] done [0.00s].
  set transactions ...[24 item(s), 15270 transaction(s)] done [0.01s].
  sorting and recoding items ... [4 item(s)] done [0.00s].
  creating transaction tree ... done [0.01s].
  checking subsets of size 1 2 3 done [0.00s].
  writing ... [11 rule(s)] done [0.00s].
  creating S4 object  ... done [0.00s].
  6 successful models have been tested 
   
  n= 10689 
  
  node), split, n, loss, yval, (yprob)
        * denotes terminal node
  
   1) root 10689 1747 [17,1.67e+03) (0.836560951 0.157264478 0.006174572)  
     2) pais=Germany,Belgium,France,Ireland,Italy,Netherlands,Portugal,UK,Switzerland,Rusia,Nordic countries,Rest of Europe 9091  743 [17,1.67e+03) (0.918270817 0.080079199 0.001649984) *
     3) pais=USA,Rest of America,Rest of world 1598  645 [1.67e+03,5.51e+03) (0.371714643 0.596370463 0.031914894)  
       6) pais=USA,Rest of world 1036  462 [1.67e+03,5.51e+03) (0.414092664 0.554054054 0.031853282)  
        12) aloja=Over-The-Counter Accommodation 256  121 [17,1.67e+03) (0.527343750 0.433593750 0.039062500) *
        13) aloja=Hotels,Rest of market 780  317 [1.67e+03,5.51e+03) (0.376923077 0.593589744 0.029487179) *
       7) pais=Rest of America 562  183 [1.67e+03,5.51e+03) (0.293594306 0.674377224 0.032028470) *
  6 successful models have been tested 
   
  n= 10689 
  
  node), split, n, loss, yval, (yprob)
        * denotes terminal node
  
   1) root 10689 1747 [17,1.67e+03) (0.836560951 0.157264478 0.006174572)  
     2) pais=Germany,Belgium,France,Ireland,Italy,Netherlands,Portugal,UK,Switzerland,Rusia,Nordic countries,Rest of Europe 9091  743 [17,1.67e+03) (0.918270817 0.080079199 0.001649984) *
     3) pais=USA,Rest of America,Rest of world 1598  645 [1.67e+03,5.51e+03) (0.371714643 0.596370463 0.031914894)  
       6) pais=USA,Rest of world 1036  462 [1.67e+03,5.51e+03) (0.414092664 0.554054054 0.031853282)  
        12) aloja=Over-The-Counter Accommodation 256  121 [17,1.67e+03) (0.527343750 0.433593750 0.039062500) *
        13) aloja=Hotels,Rest of market 780  317 [1.67e+03,5.51e+03) (0.376923077 0.593589744 0.029487179) *
       7) pais=Rest of America 562  183 [1.67e+03,5.51e+03) (0.293594306 0.674377224 0.032028470) *
  ── 1. Error: Test CART with EGATUR dataset. (@test-CART.R#14)  ─────────────────
  incorrect number of dimensions
  Backtrace:
   1. MachineLearning::CART(...)
   2. base::order(...)
  
    attributes  importance
  1       pais 0.049161047
  2      aloja 0.008279454
  3     motivo 0.004326729
    attributes  importance
  1       pais 0.049161047
  2      aloja 0.008279454
  3     motivo 0.004326729
    attributes  importance
  1       pais 0.049161047
  2      aloja 0.008279454
  3     motivo 0.004326729
    attributes  importance
  1       pais 0.049161047
  2      aloja 0.008279454
  3     motivo 0.004326729
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 23 | SKIPPED: 0 | WARNINGS: 1 | FAILED: 1 ]
  1. Error: Test CART with EGATUR dataset. (@test-CART.R#14) 
  
  Error: testthat unit tests failed
  Execution halted