tests/testthat/test-hyperparam.R

# Bayesian model specification----------------
test_that("Test for hyperparameter functions", {
  skip_on_cran()
  
  bvar_spec <- set_bvar(
    sigma = rep(.1, 3),
    lambda = .1,
    delta = rep(.2, 3)
  )
  
  expect_s3_class(bvar_spec, "bvharspec")
  
  
})
#> Test passed 🌈

Try the bvhar package in your browser

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

bvhar documentation built on April 4, 2025, 5:22 a.m.