tests/test-ci.R

# run tests on CI (these tests depend on Chrome)

print_pdf = function(input, output = tempfile(), ...) {
  chrome_print(input, output, ...)
}

if (!is.na(Sys.getenv('CI', NA))) {
  options(pagedown.remote.maxattempts = 100L)
  testit::test_pkg('pagedown', 'test-ci')
}

Try the pagedown package in your browser

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

pagedown documentation built on Oct. 11, 2024, 9:08 a.m.