doctestExample-tag | Add an example from a file |
doctest-package | Write testthat tests for your examples, using roxygen tags |
doctest-tag | Start a doctest |
dt_roclet | Create the doctest roclet |
expectRaw-tag | Create an expectation as-is |
expect-tag | Create an expectation |
omit-tag | Exclude example code from a test |
snap-tag | Create a snapshot test |
test_doctests | Test doctests in a package |
testRaw-tag | Add a line of code to the test |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.