tests/testthat/test_install_greta_deps.R

test_that("install_greta_deps errors appropriately", {
  skip_if_not(check_tf_version())
  expect_snapshot_error(
    install_greta_deps(timeout = 0.001)
  )
})

# test_that("reinstall_greta_deps errors appropriately", {
#   skip_if_not(check_tf_version())
#   expect_snapshot_error(
#     reinstall_greta_deps(timeout = 0.001)
#   )
# })

Try the greta package in your browser

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

greta documentation built on Sept. 8, 2022, 5:10 p.m.