Usage
use_testex(path = getwd(), check = TRUE, quiet = FALSE)Arguments
- path
A package source code working directory
- check
A
logicalvalue indicating whether tests should be executing duringR CMD check.- quiet
Whether output should be suppressed
Value
The result of write.dcf() upon modifying the package
DESCRIPTION file.
Note
The testex roxygen2 tags behave similarly to roxygen2 @examples
tags, with the minor addition of some wrapping code to manage the tests. This
means that they will be integrated into your @examples and can be
intermixed between @examples tags