tests/testthat/helper-utils.R

skip_cmdstan <- function() {
  skip_on_cran()
  skip_if_not_installed("cmdstanr")
  if (!stan_cmdstan_exists()) {
    skip("CmdStan not found.")
  }
}
stemangiola/sccomp documentation built on Dec. 20, 2024, 8:38 a.m.