Nothing
test_that("require_package works", {
expect_true(require_package("stats"))
expect_error(require_package("foobar"), regexp = "Package .* required.*Install it from CRAN with")
# With custom remote
expect_error(
require_package("foobar", from = "https://github.com/foo/bar"),
regexp = "Package .* required.*Install it from .*https:\\/\\/github\\.com\\/foo\\/bar"
)
})
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.