tests/testthat/test_0_stan_compile.R

context("Step 0 - compiling bayesStanModel")

load("testthat_objects/banocc_model_test.RData")

test_that("banocc_model compiles to give an object of class 'stanmodel'", {
    expect_is(compiled_banocc_model, 'stanmodel')
})

Try the banocc package in your browser

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

banocc documentation built on Nov. 8, 2020, 8:08 p.m.