-
Notifications
You must be signed in to change notification settings - Fork 635
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating tests #155
Updating tests #155
Conversation
There’s no longer S3 methods for trimming those models, the trimming code lives in the model objects.
Currently no trim method for earth models
Trying to skip vignette building in tests
travis supports R natively now!
for createTimeSlices
see what happens if we take out some latex packages
Added non-CRAN tests packages to travis install
wtf travis
Ok, so the new tests for model trimming are what's failing here. The weird thing is, they run fine locally, and |
The error I'm getting is really weird: * checking tests ...
Running ‘testthat.R’ [12s/12s]
ERROR
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
trim = TRUE))
6: train(x, y, weights = w, ...)
7: train.default(x, y, weights = w, ...)
8: checkInstall(models$library)
9: stop()
testthat results ================================================================
OK: 89 SKIPPED: 0 FAILED: 2
1. Error: bayesglm classification
2. Error: bayesglm regression
Error: testthat unit tests failed
Execution halted
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in ‘inst/doc’ ... OK
* checking running R code from vignettes ...
‘caret.Rnw’ ... OK
OK
* checking re-building of vignette outputs ... OK
* checking PDF version of manual ... OK
* DONE
Status: 1 ERROR, 1 WARNING, 1 NOTE
See
‘/home/travis/build/topepo/caret/pkg/caret/caret.Rcheck/00check.log’
for details. |
I might have figured it out— explicitly loading the package seems to work |
1 similar comment
Should I merge this in? |
@topepo Let me squash it down to a single commit. Are you ok with adding more packages to the "suggests" field? That's the only way I could get the trim tests to work. |
On Tue, May 26, 2015 at 9:26 PM, Zach Mayer notifications@github.com
|
kknn
arm
glmnet
rpart
C50,
ipred
plyr
earth I'll figure out how to install them on travis manually (it should be easy, but it's not!) |
and try really hard to install them
No description provided.