Description Usage Arguments Value Note Author(s) See Also Examples
The simplest possible detective. It simply returns an empty character vector of the appropriate length.
1 | dummy_detective(x, ...)
|
x |
The result of the |
... |
Additional arguments. Ignored. |
An empty character vector of the appropriate length, corresponding to the number of tokens to render.
This is mostly here to illustrate the simplest possible detective implementation.
Romain Francois <romain@r-enthusiasts.com>
Actual detective: simple_detective
1 2 3 4 5 6 7 | ## Not run:
tf <- tempfile()
dump( "jitter", file = tf )
highlight( file = tf, detective = dummy_detective,
renderer = renderer_html( document = TRUE ) )
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.