tests/testthat/test-sendEmail.R

# we do not have the ability to test email shipments, yet...
test_that("stopifnot...", {
  expect_error(sendEmail(
    conf = list(), to = "", subject = "", text = "",
    attFile = ""
  ))
})

Try the rapbase package in your browser

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

rapbase documentation built on March 7, 2023, 8 p.m.