-
Notifications
You must be signed in to change notification settings - Fork 0
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
Ben weinstein #11
base: master
Are you sure you want to change the base?
Ben weinstein #11
Conversation
bw4sz
commented
Dec 4, 2016
- Updates to vignettes.
- Coded Vazquez 2009 mgen wrapper (descriptive method, no predict possible)
- Multinomial bayesian model with a Dirichlet prior, tested and runs clean.
… cannot yet test the dmulti function for jags
…l bayesian models, i clearly don't understand how paths are exporting when rstudio makes a package. I had to hard code the paths, i'm on the airplane, can't google. Clearly this needs to be address, including the html markdown doc i made to show off the method that is loitering in the R/ folder, where do tutorials go?
… functions work with bayes Intercept and Binomial models
…ion, exports the documentation, still fails description file check in rstudio
…w paths are export using kevin's export function
…ing probabilities
…ayesreg, rebuilding from github
Current coverage is 30.16% (diff: 27.41%)@@ master #11 diff @@
==========================================
Files 16 18 +2
Lines 377 537 +160
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
+ Hits 135 162 +27
- Misses 242 375 +133
Partials 0 0
|
@bw4sz this needs to be tested before merging. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need tests
Can you provide a bit more detail? When it says the code coverage has decreased, does it mean that some dependencies are undefined, or that there are global variables missing? I'm not totally following what is being evaluated. |
As an example I add a test for OccupancyToJags in the previous commit ! |
Tim is right, what I have done is not enough. I guess the best is to apply your models (which requires jags files) on simple cases for which results are known. |
The test implemented by @KevCaz for the functions ( @bw4sz, is there a way to send a fake If you need further details or examples have a look at http://r-pkgs.had.co.nz/tests.html. We know that implementing unit tests is more jobs but that practice is well suitable to prevent bugs and errors in the code. |
Looking at the names of these functions, I wonder: shall we start the name by a lowercase letter or a uppercase one? |
@KevCaz, lower ! |
Looks like steve updated the camelCase, and the namespace will need to be rebuilt. I will not get to testing these functions this week, i suggest we move forward with getting functions together. |
Ben, I have stried to solve the issues, can you check if everything is Ok on your side?? |
@KevCaz , i pulled, merged, and pushed, everything looks okay on first pass. Will run my vignette in a sec. |