Nothing
Code
cat(format(methods), sep = "\n")
Output
\section{Methods}{
\subsection{Public methods}{
\itemize{
\item \href{#method-Foo-run}{\code{Foo$run()}}
}
}
\if{html}{\out{<hr>}}
\if{html}{\out{<a id="method-Foo-run"></a>}}
\if{latex}{\out{\hypertarget{method-Foo-run}{}}}
\subsection{\code{Foo$run()}}{
Run it.
\subsection{Usage}{
\if{html}{\out{<div class="r">}}
\preformatted{Foo$run()}
\if{html}{\out{</div>}}
}
}
}
Code
cat(r6_all_examples(docs$methods), sep = "\n")
Output
## ------------------------------------------------
## Method `C$greet()`
## ------------------------------------------------
c$greet()
## ------------------------------------------------
## Method `C$stop()`
## ------------------------------------------------
c$stop()
c$stop(force = TRUE)
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.