CRAN Package Check Results for Package MachineLearning

Last updated on 2020-06-22 05:48:35 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.4 11.76 143.72 155.48 OK
r-devel-linux-x86_64-debian-gcc 0.1.4 10.32 104.37 114.69 OK
r-devel-linux-x86_64-fedora-clang 0.1.4 188.66 OK
r-devel-linux-x86_64-fedora-gcc 0.1.4 178.60 ERROR
r-devel-windows-ix86+x86_64 0.1.4 25.00 150.00 175.00 OK
r-patched-linux-x86_64 0.1.4 12.13 139.23 151.36 OK
r-patched-solaris-x86 0.1.4 289.90 OK
r-release-linux-x86_64 0.1.4 10.27 141.99 152.26 ERROR
r-release-osx-x86_64 0.1.4 OK
r-release-windows-ix86+x86_64 0.1.4 25.00 155.00 180.00 OK
r-oldrel-osx-x86_64 0.1.4 OK
r-oldrel-windows-ix86+x86_64 0.1.4 19.00 140.00 159.00 OK

Check Details

Version: 0.1.4
Check: tests
Result: ERROR
     Running ‘spelling.R’
     Running ‘testthat.R’ [60s/77s]
    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 TRUE
    
     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 1709 [17,1.67e+03) (0.840116007 0.153615867 0.006268126)
     2) pais=Germany,Belgium,France,Ireland,Italy,Netherlands,Portugal,UK,Switzerland,Rusia,Nordic countries,Rest of Europe 9120 713 [17,1.67e+03) (0.921820175 0.075877193 0.002302632) *
     3) pais=USA,Rest of America,Rest of world 1569 619 [1.67e+03,5.51e+03) (0.365200765 0.605481198 0.029318037) *
     6 successful models have been tested
    
     n= 10689
    
     node), split, n, loss, yval, (yprob)
     * denotes terminal node
    
     1) root 10689 1709 [17,1.67e+03) (0.840116007 0.153615867 0.006268126)
     2) pais=Germany,Belgium,France,Ireland,Italy,Netherlands,Portugal,UK,Switzerland,Rusia,Nordic countries,Rest of Europe 9120 713 [17,1.67e+03) (0.921820175 0.075877193 0.002302632) *
     3) pais=USA,Rest of America,Rest of world 1569 619 [1.67e+03,5.51e+03) (0.365200765 0.605481198 0.029318037) *
     ── 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
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.1.4
Check: tests
Result: ERROR
     Running ‘spelling.R’ [0s/1s]
     Running ‘testthat.R’ [51s/57s]
    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 TRUE
    
     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.00s].
     checking subsets of size 1 2 3 done [0.00s].
     writing ... [11 rule(s)] done [0.00s].
     creating S4 object ... done [0.01s].
     2 successful models have been tested
    
     n= 10689
    
     node), split, n, loss, yval, (yprob)
     * denotes terminal node
    
     1) root 10689 1733 [17,1.67e+03) (0.8378707082 0.1554869492 0.0066423426)
     2) pais=Germany,Belgium,France,Ireland,Italy,Netherlands,Portugal,UK,Switzerland,Rusia,Nordic countries,Rest of Europe 9092 734 [17,1.67e+03) (0.9192696876 0.0785305763 0.0021997360)
     4) aloja=Hotels,Over-The-Counter Accommodation 8194 557 [17,1.67e+03) (0.9320234318 0.0671222846 0.0008542836) *
     5) aloja=Rest of market 898 177 [17,1.67e+03) (0.8028953229 0.1826280624 0.0144766147)
     10) pais=Belgium,France,Ireland,Portugal 238 26 [17,1.67e+03) (0.8907563025 0.1008403361 0.0084033613) *
     11) pais=Germany,Italy,Netherlands,UK,Switzerland,Rusia,Nordic countries,Rest of Europe 660 151 [17,1.67e+03) (0.7712121212 0.2121212121 0.0166666667)
     22) motivo=Leisure,Business 583 125 [17,1.67e+03) (0.7855917667 0.2126929674 0.0017152659) *
     23) motivo=Others 77 26 [17,1.67e+03) (0.6623376623 0.2077922078 0.1298701299)
     46) pais=Germany,Italy,Netherlands,UK,Switzerland 68 18 [17,1.67e+03) (0.7352941176 0.1617647059 0.1029411765) *
     47) pais=Nordic countries,Rest of Europe 9 4 [1.67e+03,5.51e+03) (0.1111111111 0.5555555556 0.3333333333) *
     3) pais=USA,Rest of America,Rest of world 1597 649 [1.67e+03,5.51e+03) (0.3744520977 0.5936130244 0.0319348779)
     6) pais=USA,Rest of world 1029 462 [1.67e+03,5.51e+03) (0.4149659864 0.5510204082 0.0340136054)
     12) aloja=Rest of market,Over-The-Counter Accommodation 336 171 [17,1.67e+03) (0.4910714286 0.4434523810 0.0654761905)
     24) pais=USA 109 47 [17,1.67e+03) (0.5688073394 0.3761467890 0.0550458716) *
     25) pais=Rest of world 227 119 [1.67e+03,5.51e+03) (0.4537444934 0.4757709251 0.0704845815)
     50) motivo=Leisure,Others 215 111 [1.67e+03,5.51e+03) (0.4511627907 0.4837209302 0.0651162791)
     100) aloja=Over-The-Counter Accommodation 173 90 [1.67e+03,5.51e+03) (0.4682080925 0.4797687861 0.0520231214)
     200) motivo=Leisure 90 46 [17,1.67e+03) (0.4888888889 0.4555555556 0.0555555556) *
     201) motivo=Others 83 41 [1.67e+03,5.51e+03) (0.4457831325 0.5060240964 0.0481927711) *
     101) aloja=Rest of market 42 21 [1.67e+03,5.51e+03) (0.3809523810 0.5000000000 0.1190476190) *
     51) motivo=Business 12 6 [17,1.67e+03) (0.5000000000 0.3333333333 0.1666666667) *
     13) aloja=Hotels 693 275 [1.67e+03,5.51e+03) (0.3780663781 0.6031746032 0.0187590188) *
     7) pais=Rest of America 568 187 [1.67e+03,5.51e+03) (0.3010563380 0.6707746479 0.0281690141)
     14) motivo=Leisure 390 142 [1.67e+03,5.51e+03) (0.3589743590 0.6358974359 0.0051282051) *
     15) motivo=Business,Others 178 45 [1.67e+03,5.51e+03) (0.1741573034 0.7471910112 0.0786516854)
     30) aloja=Hotels,Over-The-Counter Accommodation 159 34 [1.67e+03,5.51e+03) (0.1886792453 0.7861635220 0.0251572327) *
     31) aloja=Rest of market 19 9 [5.51e+03,1.99e+04] (0.0526315789 0.4210526316 0.5263157895) *
     2 successful models have been tested
    
     n= 10689
    
     node), split, n, loss, yval, (yprob)
     * denotes terminal node
    
     1) root 10689 1733 [17,1.67e+03) (0.8378707082 0.1554869492 0.0066423426)
     2) pais=Germany,Belgium,France,Ireland,Italy,Netherlands,Portugal,UK,Switzerland,Rusia,Nordic countries,Rest of Europe 9092 734 [17,1.67e+03) (0.9192696876 0.0785305763 0.0021997360)
     4) aloja=Hotels,Over-The-Counter Accommodation 8194 557 [17,1.67e+03) (0.9320234318 0.0671222846 0.0008542836) *
     5) aloja=Rest of market 898 177 [17,1.67e+03) (0.8028953229 0.1826280624 0.0144766147)
     10) pais=Belgium,France,Ireland,Portugal 238 26 [17,1.67e+03) (0.8907563025 0.1008403361 0.0084033613) *
     11) pais=Germany,Italy,Netherlands,UK,Switzerland,Rusia,Nordic countries,Rest of Europe 660 151 [17,1.67e+03) (0.7712121212 0.2121212121 0.0166666667)
     22) motivo=Leisure,Business 583 125 [17,1.67e+03) (0.7855917667 0.2126929674 0.0017152659) *
     23) motivo=Others 77 26 [17,1.67e+03) (0.6623376623 0.2077922078 0.1298701299)
     46) pais=Germany,Italy,Netherlands,UK,Switzerland 68 18 [17,1.67e+03) (0.7352941176 0.1617647059 0.1029411765) *
     47) pais=Nordic countries,Rest of Europe 9 4 [1.67e+03,5.51e+03) (0.1111111111 0.5555555556 0.3333333333) *
     3) pais=USA,Rest of America,Rest of world 1597 649 [1.67e+03,5.51e+03) (0.3744520977 0.5936130244 0.0319348779)
     6) pais=USA,Rest of world 1029 462 [1.67e+03,5.51e+03) (0.4149659864 0.5510204082 0.0340136054)
     12) aloja=Rest of market,Over-The-Counter Accommodation 336 171 [17,1.67e+03) (0.4910714286 0.4434523810 0.0654761905)
     24) pais=USA 109 47 [17,1.67e+03) (0.5688073394 0.3761467890 0.0550458716) *
     25) pais=Rest of world 227 119 [1.67e+03,5.51e+03) (0.4537444934 0.4757709251 0.0704845815)
     50) motivo=Leisure,Others 215 111 [1.67e+03,5.51e+03) (0.4511627907 0.4837209302 0.0651162791)
     100) aloja=Over-The-Counter Accommodation 173 90 [1.67e+03,5.51e+03) (0.4682080925 0.4797687861 0.0520231214)
     200) motivo=Leisure 90 46 [17,1.67e+03) (0.4888888889 0.4555555556 0.0555555556) *
     201) motivo=Others 83 41 [1.67e+03,5.51e+03) (0.4457831325 0.5060240964 0.0481927711) *
     101) aloja=Rest of market 42 21 [1.67e+03,5.51e+03) (0.3809523810 0.5000000000 0.1190476190) *
     51) motivo=Business 12 6 [17,1.67e+03) (0.5000000000 0.3333333333 0.1666666667) *
     13) aloja=Hotels 693 275 [1.67e+03,5.51e+03) (0.3780663781 0.6031746032 0.0187590188) *
     7) pais=Rest of America 568 187 [1.67e+03,5.51e+03) (0.3010563380 0.6707746479 0.0281690141)
     14) motivo=Leisure 390 142 [1.67e+03,5.51e+03) (0.3589743590 0.6358974359 0.0051282051) *
     15) motivo=Business,Others 178 45 [1.67e+03,5.51e+03) (0.1741573034 0.7471910112 0.0786516854)
     30) aloja=Hotels,Over-The-Counter Accommodation 159 34 [1.67e+03,5.51e+03) (0.1886792453 0.7861635220 0.0251572327) *
     31) aloja=Rest of market 19 9 [5.51e+03,1.99e+04] (0.0526315789 0.4210526316 0.5263157895) *
     ── 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
Flavor: r-release-linux-x86_64