tests/testthat/test-summary.R

context("summary")
test_that("summary.bas", {
  data(Hald)
  hald.bas <- bas.lm(Y ~ .,
                     prior = "BIC",
                     modelprior = uniform(), data = Hald
  )
  expect_length(summary(hald.bas), 60)
  expect_null(print(hald.bas))
})

Try the BAS package in your browser

Any scripts or data that you put into this service are public.

BAS documentation built on Nov. 2, 2022, 5:09 p.m.