This function is not intended for interactive use, see
runtests() for that. This function is intended to be
called from the file
runtests.R in the
subdirectory of a package. The
runtests.R file should contain
these two lines:
1 2 3
1 2 3 4
Function for initializing tests.
Function for finalizing tests – should compute a summary of test results.
Function for checking differences between target output and actual test output.
Only run tests whose filename matches this regular expression pattern.
runScripTests() runs, it will create a
file with the commands extracted from each
.Rt file. It will
then run each
.R file in a separate
R session, save
the output in a
.Rout file, and compare the output with the
runScripTests will leave a summary in the
test-summary.txt. If there are errors, the summary will
be duplicated in the file
test-summary.fail (the presence of
a file ending in
.fail signals an error to
Tony Plate firstname.lastname@example.org
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.