tests/testthat/helper-utils.R

skip_if_no_tensorflow <- function() {
  skip_on_cran()

  if (!reticulate::py_module_available("tensorflow"))
    skip("TensorFlow not available for testing")
}

Try the tfdeploy package in your browser

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

tfdeploy documentation built on June 14, 2019, 5:04 p.m.