-
Notifications
You must be signed in to change notification settings - Fork 7
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
Allowing binomial option #5
base: master
Are you sure you want to change the base?
Conversation
…or some reason I needed family$family in the hal function or it would it would give an error that the arg should be NULL or character
I should say, it does work fine with family specified as binomial() or gaussian() as normally declared in either SL.hal or hal. |
Based on the current Travis CI results, it appears you need to rebuild the package documentation (you can do this by running |
I rebuilt the docs but still failing Travis. I don't understand these tests or why the test is saying args are not matching in error logs. |
Looks like the issue is that the new family argument to hal() doesn't have a default, but it's a new option so it will cause any previously created hal() test to fail because it wouldn't have specified the family option. See this code: https://github.com/benkeser/halplus/blob/master/tests/testthat/test_basic.R#L18-L23 So you could specify a default of family = gaussian() in hal() for backwards compatibility, or be ok with breaking old code but at least update the test(s) to specify the family. |
The AppVeyor exceeded 60 min time allowed but as Nima said, perhaps broken. |
The Appveyor build is failing because currently
You can fix this by changing the line (nested under For now, you should probably feel free to merge your PR since it is passing Travis and it does not appear that the commits contained in your PR are the reason the Appveyor builds are failing. |
Thanks, Nima. Well then it should be OK up to superficialities. I'll leave the test parameters up to the contributors. |
This now allows the binomial option and for some reason I needed family$family within hal function or it would give me an error about the arg not being NULL or a character.