Description Usage Arguments Details Value Author(s)
These are support functions for package scriptests. They are called to prepare a test directory for running tests, compare the output of each test with target out, and summarize test results.
1 2 3 4 5 |
commandfile |
The name of the file containing R commands. |
outfile |
The name of the file containing R output. |
savefile |
The name of the file containing pre-existing R output to compare against. |
debug |
Debugging flag. |
create.Rout.save |
Should a |
addSelfCheck |
Controls an unused an obselete feature of adding extra code to the end of the R commands that will check the output created. |
pattern |
Only process test files whose name matches |
subst |
Substitutions to make when parsing the transcript file. |
R.suf |
The suffix (not including a dot) to use for auto-generated files containing R commands. |
initializeTestsPre-process tests, writing commands to a file, and creating a file with a saved R object containing information to analyze the results of the test.
ScripDiffCompare test output against desired output and summarize the differences.
summarizeTestsSummarize the results of all tests.
Returns the value 0 on successful completion.
Tony Plate tplate@acm.org
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.