tests/testthat/helper-utils.R

skip_if_no_pylearn_parsimony <- function() {
  if (!"pylearn-parsimony" %in% reticulate::py_list_packages()$package)
    skip("pylearn_parsimony not available for testing")
}

skip_if_no_python <- function(verbose = FALSE) {
  if (!reticulate::py_available())
    skip("Python not available for testing")
}

Try the mglasso package in your browser

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

mglasso documentation built on Sept. 8, 2022, 5:08 p.m.