tests/testthat/helper-stub.R

skip_if_stub <- function() {
  if (isTRUE(tryCatch(cgvR::cgv_is_stub_build(),
                      error = function(e) FALSE))) {
    testthat::skip("cgvR is a stub build (no Vulkan)")
  }
}

Try the cgvR package in your browser

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

cgvR documentation built on May 12, 2026, 1:06 a.m.