Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/mstoolkitUnitTests.R
This function enables the user of the MSToolkit package to run the unit tests of the package.
1 | mstoolkitUnitTests(htmlreport = FALSE, showdetails = TRUE)
|
htmlreport |
(Optional) A logical value. Print an html report for unit and system tests? FALSE by default |
showdetails |
(Optional) A logical value. Print the details in the text summary of the unit tests? TRUE by default |
The unit tests are based on the RUnit framework.
The function does not return anything. It writes two files: reportUT.html
for the unit
tests and reportST.html
for the system tests.
Mike K Smith mstoolkit@googlemail.com
Matthias Burger, Klaus Juenemann and Thomas Koenig (2007). RUnit: R Unit test framework. R package version 0.4.17. https://sourceforge.net/projects/runit/
RUnit and R CMD check http://wiki.r-project.org/rwiki/doku.php?id=developers:runit
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
mstoolkitUnitTests( htmlhelp = TRUE )
# unit tests
browseURL("reportUT.html")
# system tests
browseURL("reportST.html")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.