tests/testthat/helper.R

skip_if_no_python <- function() {
  have_python <- reticulate::py_module_available("pycaret")
  if (!have_python) {
    skip("Python is not available")
  }
}

Try the stressor package in your browser

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

stressor documentation built on May 29, 2024, 3:09 a.m.