tests/testthat/test_stan_fit_1.R

test_that("stanmodels exist", {
  expect_type(breathteststan:::stanmodels,"list")
  expect_s4_class(breathteststan:::stanmodels$breath_test_1, "stanmodel")
  expect_gte(length(breathteststan:::stanmodels), 1L)
})

Try the breathteststan package in your browser

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

breathteststan documentation built on May 29, 2024, 4:23 a.m.