tests/testthat/test-echoice2.R

test_that("Sampler runs", {
  data(icecream)
  icecream_est <- vd_est_vdm(icecream,R=200, cores=2)
  mycheck=sd(icecream_est$thetaDraw[1,1,])>0
  
  expect_true(mycheck)
})

Try the echoice2 package in your browser

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

echoice2 documentation built on Nov. 20, 2023, 9:06 a.m.