test_doctests {doctest} | R Documentation |
Test doctests in a package
Description
This is a utility function to run doctests in a local source package.
It calls testthat::test_local()
.
Usage
test_doctests(path = ".", ...)
Arguments
path |
Path to package |
... |
Passed to |
Value
The result of testthat::test_local()
.
Examples
## Not run:
test_doctests()
## End(Not run)
[Package doctest version 0.3.0 Index]