tests/testthat/test_banditNarm_lapse.R

context("Test banditNarm_lapse")
library(hBayesDM)

test_that("Test banditNarm_lapse", {
  # Do not run this test on CRAN
  skip_on_cran()

  expect_output(banditNarm_lapse(
      data = "example", niter = 10, nwarmup = 5, nchain = 1, ncore = 1))
})

Try the hBayesDM package in your browser

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

hBayesDM documentation built on Sept. 23, 2022, 9:06 a.m.