Nothing
context("test-password-callback")
test_that("password callback works", {
pdf_file <- 'pdf-example-password.original.pdf'
expect_is(pdf_compress(pdf_file, tempfile(), password = 'test'), 'character')
expect_error(pdf_compress(pdf_file, tempfile()))
options(askpass = function(...){'test'})
expect_is(pdf_compress(pdf_file, tempfile()), 'character')
expect_error(pdf_compress(pdf_file, tempfile(), password = 'wrong'))
options(askpass = NULL)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.