tests/testthat/test-install_otp.R

# Calling install_otp() with out supplying the argument dir throws an error

test_that("install_otp() throws an error", {
  expect_error(install_otp())
})

Try the accessr package in your browser

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

accessr documentation built on April 4, 2025, 1:52 a.m.