Function reference
-
doctest
doctest-package
- Write testthat tests for your examples, using roxygen tags
-
doctest-tag
@doctest
- Start a doctest
-
doctestExample-tag
@doctestExample
- Add an example from a file
-
expect-tag
@expect
- Create an expectation
-
expectRaw-tag
@expectRaw
- Create an expectation as-is
-
omit-tag
resume-tag
@omit
@resume
- Exclude example code from a test
-
testRaw-tag
@testRaw
- Add a line of code to the test
-
dt_roclet()
- Create the doctest roclet
-
test_doctests()
- Test doctests in a package