tests/testthat/test-error_call.R

test_that("polish_content() methods have a error_call= argument", {
  expect_have_argument("^polish_content_word[.]", "error_call")
  expect_have_argument("^polish_content_pptx[.]", "error_call")
})

test_that("polish_content_pptx() methods have a ph= argument", {
  expect_have_argument("^polish_content_pptx[.]", "ph")
})

test_that("polish_content_pptx() methods have a pptx= argument", {
  expect_have_argument("^polish_content_pptx[.]", "pptx")
})

test_that("polish_content_word() methods have a inline= argument", {
  expect_have_argument("^polish_content_word[.]", "inline")
})

Try the polish package in your browser

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

polish documentation built on June 3, 2026, 5:07 p.m.