Skip to contents

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 testthat::test_local().

Value

The result of testthat::test_local().

Examples

if (FALSE) {
  test_doctests()
}