tests/testthat/utils.R

skip_if_no_azureml <- function() {
  if (!reticulate::py_module_available("azureml"))
    skip("azureml not available for testing")
}

skip_if_no_subscription <- function() {
  subscription_id <- Sys.getenv("TEST_SUBSCRIPTION_ID", unset = NA)
  if (is.na(subscription_id))
    skip("subscription not available for testing")
}

Try the azuremlsdk package in your browser

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

azuremlsdk documentation built on Oct. 23, 2020, 8:22 p.m.