tests/testthat/test-pptx.R

testthat::context("BAD GS notes")

testthat::test_that("The bad ID should fail", {

  bad_id = "1AJxokPkGVzNZMXjyF59mNe3EiQRGxylbBfYGGoQMQls"
  testthat::expect_error(gs_to_ari(bad_id))

  testthat::expect_error({
    testthat::expect_warning(gs_to_ari(bad_id))
  })

})

Try the ariExtra package in your browser

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

ariExtra documentation built on June 23, 2021, 9:07 a.m.