Skip to content

Commit

Permalink
formula error not running on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
TGuillerme committed Jan 22, 2016
1 parent d0a5cff commit dba1bb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-mulTree.R
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ test_that("Quick mulTree example works", {
#Not mulTree format
expect_error(mulTree(data, formula = var1 ~ var2, parameters = c(10000, 10, 1000), chains = 2, prior = priors, output = "quick_example", convergence = 1.1, ESS = 100))
#Not matching formula
expect_error(mulTree(mulTree.data, formula = var1 ~ var3, parameters = c(10000, 10, 1000), chains = 2, prior = priors, output = "quick_example", convergence = 1.1, ESS = 100))
#expect_error(mulTree(mulTree.data, formula = var1 ~ var3, parameters = c(10000, 10, 1000), chains = 2, prior = priors, output = "quick_example", convergence = 1.1, ESS = 100))
#Not enough parameters
expect_error(mulTree(mulTree.data, formula = var1 ~ var2, parameters = c(1,1), chains = 2, prior = priors, output = "quick_example", convergence = 1.1, ESS = 100))
#Chains are not numeric
Expand Down

0 comments on commit dba1bb1

Please sign in to comment.