tests/testthat/test-load.R

context("Load Model")

test_that("loading invalid savedmodel should fail", {
  expect_error(
    load_savedmodel(NULL)
  )
})

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.