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.
# S3 method for roclet_tests
roclet_output(x, results, base_path, ...)A roclet object.
Value returned from the roclet_process() method.
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!