use_testex_as_testthat: Run examples as testthat expectations
Description
Run examples as testthat expectations
Usage
use_testex_as_testthat(path = getwd(), context = "testex", quiet = FALSE)
Value
The result of writeLines() after writing a new testthat file.
Arguments
- path
A package source code working directory
- context
A testthat test context to use as the basis for a new test
filename.
- quiet
Whether to emit output messages.