tests/testthat/test-expose.R

context('Expose Stan models')
library(rstanlm)
library(rstan)

test_that("expose Stan functions", {
  model <- stanmodels[['lm']]
  message(class(model))
  expose_stan_functions(model)
  fib(9)
})
JohnReid/rstanlm documentation built on May 12, 2019, 10:07 a.m.