Repository navigation
Conversation
| dim_pred <- dim(predictions) | ||
| if (!(mv)) { | ||
| dim_pred <- dim(predictions) | ||
| # dim_pred <- dim(predictions) # Moved up before if (!(mv)) { |
There was a problem hiding this comment.
Here it would be best to delete this rather than comment. And as the new placement is correct and logical there is no need for the comment
|
|
||
| suppressWarnings({ | ||
| bform1 <- brms::bf(mvbind(tarsus, back) ~ sex + hatchdate + (1|p|fosternest) + (1|q|dam)) + brms::set_rescor(TRUE) | ||
| fit1 <- brms::brm(bform1, data = BTdata, chains = 2, cores = 2, iter = 10) |
There was a problem hiding this comment.
It is probably best to change this to leave out the cores argument, as there is no need to necessarily use multiple cores in the test
| { | ||
| testthat::skip_if_not_installed("brms") | ||
|
|
||
| data("BTdata", package = "MCMCglmm") |
There was a problem hiding this comment.
would you be able to find another dataset that is available in base R or brms? currently MCMCglmm is not listed in imports or suggests
n-kall
left a comment
There was a problem hiding this comment.
Thank you @Sandhu-SS. Overall this looks good, but I left a couple or comments. I think it would be best to find another dataset that is available in base R rather than another package, to avoid additional dependencies even for tests
|
Thank you for the suggestion. I replaced the I also cleaned up |
|
Thanks! Merging to the |
Fixes issue #150