merliseclyde / BAS

BAS R package https://merliseclyde.github.io/BAS/
https://merliseclyde.github.io/BAS/
GNU General Public License v3.0
41 stars 16 forks source link

include.always errors with bas.glm #34

Closed merliseclyde closed 5 years ago

merliseclyde commented 5 years ago

from test-bas-glm.R

test_that("include always", {
  data("Pima.tr", package="MASS")
  expect_error(bas.glm(type ~ .,
                        data = Pima.tr, method = "MCMC",
                        include.always = ~ bp,
                        betaprior = g.prior(g=100), family = binomial(),
                        modelprior = beta.binomial(1, 1))
  )
})

error:  object 'prob' not found 
merliseclyde commented 5 years ago

fixed in v1.5.2