tests/testthat/helper-skip-stan.R

skip_if_no_stan <- function() {
  testthat::skip_if_not_installed("cmdstanr")
  testthat::skip_if_not(
    lineagefreq::lfq_stan_available(),
    message = "CmdStan not available"
  )
}

Try the lineagefreq package in your browser

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

lineagefreq documentation built on April 3, 2026, 9:09 a.m.