zachmayer / caretEnsemble

caret models all the way down :turtle:
http://zachmayer.github.io/caretEnsemble/
Other
226 stars 75 forks source link

Fix tests #127

Closed jknowles closed 9 years ago

jknowles commented 9 years ago

This PR fixes the tests in test-ensemble.R and test-ensembleMethods.R to be modular and able to skip_on_cran which should greatly reduce the CPU time on CRAN and make extending the test-suite better.

It is not perfect though. The tests are still messy and could be pruned down more, but I think that will have to wait for version 1.1.

zachmayer commented 9 years ago

Awesome! I'll review this weekend

zachmayer commented 9 years ago

Awesome, it looks like this shaved about 2.5 minutes off the CRAN tests. We're at 5 minutes total now for CRAN tests, I'll see if I can cut another 4 minutes out from the caretList and caretStack tests.