Skip to content

Commit

Permalink
try test with fewer iterations
Browse files Browse the repository at this point in the history
  • Loading branch information
bgoodri committed Jan 16, 2017
1 parent 1d5c499 commit 545c9ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test_stan_glm.R
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ test_that("stan_glm throws appropriate errors, warnings, and messages", {
regexp = "'QR' and 'sparse' cannot both be TRUE")

# message: recommend QR if using meanfield vb
expect_message(capture.output(stan_glm(f, family = "poisson",
algorithm = "fullrank", seed = SEED)),
expect_message(capture.output(stan_glm(f, family = "poisson", iter = 2,
algorithm = "meanfield", seed = SEED)),
regexp = "Setting 'QR' to TRUE can often be helpful")

# require intercept for certain family and link combinations
Expand Down

0 comments on commit 545c9ef

Please sign in to comment.