Nothing
# Generated by doctest: do not edit by hand
# Please edit file in R/messages.R
test_that("Doctest: onetime_warning", {
# Created from @doctest for `onetime_warning`
# Source file: R/messages.R
# Source line: 16
oo <- options(onetime.dir = tempdir(check = TRUE))
id <- sample(10000L, 1)
for (n in 1:3) {
expect_warning(onetime_warning("will be shown once", id = id), regexp = if (n ==
1L) "once" else NA)
}
onetime_reset(id = id)
options(oo)
})
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.