tests/testthat/test-build-reference.R

test_that("multiplication works", {
  expect_output(expect_error(
    build_reference(test_path("assets/reference-fail")),
    "f.Rd"
  ))
})

Try the pkgdown package in your browser

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

pkgdown documentation built on Sept. 7, 2020, 5:10 p.m.