EVOLUTION-MANAGER
Edit File: RUnit-options.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: RUnit options</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for options {RUnit}"><tr><td>options {RUnit}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>RUnit options</h2> <h3>Description</h3> <p>RUnit uses three options available via the global R options list </p> <h3>Details</h3> <p>RUnit specif options are added to R's global options list on package loading and removed again on pachage unloading. </p> <h3>Options used in RUnit</h3> <dl> <dt><code>silent</code>:</dt><dd><p>logical flag, default <code>FALSE</code>, sets the 'silent' argument for <code>checkException</code>. Allows to globally silence output from exception checks for all test suites excuted in one run.</p> </dd> <dt><code>verbose</code>:</dt><dd><p>non-negative integer, default <code>1</code>, <code>0</code>: surpresses enclosing begin/end messages for each test case, <code>1</code>: output enclosing begin/end messages for each test case</p> </dd> <dt><code>outfile</code>:</dt><dd><p><code>NULL</code>, connection or character, default <code>NULL</code>. If non-null has to be an open connection or a file name. Will be used to redirect all output to specified file/connection using <code>sink</code>. Connection is close after test suite execution call (via <code>runTestSuite</code> or <code>runTestFile</code>) has completed. If the file exists it is overwriten.</p> </dd> </dl> <h3>Author(s)</h3> <p>Matthias Burger</p> <h3>See Also</h3> <p><code><a href="../../base/html/options.html">options</a></code>, <code><a href="../../base/html/options.html">getOption</a></code>, <code><a href="../../base/html/sink.html">sink</a></code>.</p> <h3>Examples</h3> <pre> ## Not run: ## quiet log output ro <- getOption("RUnit") ro$silent <- TRUE ro$verbose <- 0L options("RUnit"=ro) ## End(Not run) </pre> <hr /><div style="text-align: center;">[Package <em>RUnit</em> version 0.4.32 <a href="00Index.html">Index</a>]</div> </body></html>