Nothing
\examples{
example <- 'example1'
a <- 2
example <- 'example2'
}
Code
out <- roc_proc_text(rd_roclet(), block)[[1]]
Message
x <text>:4: @example must be a single line.
i Do you want @examples?
Code
. <- roc_proc_text(rd_roclet(), block)
Message
x <text>:4: @example './this-path-doesnt-exist.R' doesn't exist.
\examples{
\dontshow{if (foo::bar()) withAutoprint(\{ # examplesIf}
maybe-run-this-code
\dontshow{\}) # examplesIf}
\dontshow{if (foobar()) withAutoprint(\{ # examplesIf}
and-this
and-that
\dontshow{\}) # examplesIf}
}
Code
out <- roc_proc_text(rd_roclet(), block)
Message
x <text>:4: @examplesIf condition failed to parse.
Caused by error in `parse()`:
! <text>:2:0: unexpected end of input
1: 1 +
^
Code
out <- roc_proc_text(rd_roclet(), block)
Message
x <text>:4: @examplesIf requires example code after the condition.
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.