tests/testthat/test-aaa-compile.R

tar_test("precompile models", {
  skip_if_missing_cmdstan()
  compile_models()
  for (file in c("a.stan", "b.stan", "a", "b")) {
    expect_true(file.exists(compiled_path("a.stan")))
  }
})
ropensci/stantargets documentation built on Feb. 8, 2025, 10:34 p.m.