Description Usage Arguments Value Author(s)
View source: R/roclet_output.roclet_tests.R
The contents of the unit tests (lines following the @tests
tags)
are written verbatim to the appropriate directories (directory depends
on whether tinytest
or testthat
is in use). If there is more
than one function and corresponding unit tests in a file, the first unit tests
will be in filename.R
, the second in filename-1.R
etc.
1 2 | ## S3 method for class 'roclet_tests'
roclet_output(x, results, base_path, ...)
|
x |
A |
results |
Value returned from the |
base_path |
Path to root of source package. |
... |
Other arguments passed downstream. Needed for compatibility, does not appear to be used. |
Invisibly, a list with the text of the tests. Writes files!
Bryan A. Hanson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.