• using R version 2.8.0 (2008-10-20)
  • using session charset: ASCII
  • checking for file 'RUnit/DESCRIPTION' ... OK
  • this is package 'RUnit' version '0.4.19'
  • checking package name space information ... OK
  • checking package dependencies ... OK
  • checking if this is a source package ... OK
  • checking for executable files ... OK
  • checking whether package 'RUnit' can be installed ... OK
  • checking package directory ... OK
  • checking for portable file names ... OK
  • checking for sufficient/correct file permissions ... OK
  • checking DESCRIPTION meta-information ... OK
  • checking top-level files ... OK
  • checking index information ... OK
  • checking package subdirectories ... OK
  • checking R files for non-ASCII characters ... OK
  • checking R files for syntax errors ... OK
  • checking whether the package can be loaded ... OK
  • checking whether the package can be loaded with stated dependencies ... OK
  • checking whether the name space can be loaded with stated dependencies ... OK
  • checking for unstated dependencies in R code ... OK
  • checking S3 generic/method consistency ... OK
  • checking replacement functions ... OK
  • checking foreign function calls ... OK
  • checking R code for possible problems ... NOTE
    .executeTestCase: no visible binding for global variable '.testLogger'
    .sourceTestFile: no visible binding for global variable '.testLogger'
    DEACTIVATED: no visible binding for global variable '.testLogger'
    checkEquals: no visible binding for global variable '.testLogger'
    checkEqualsNumeric: no visible binding for global variable
    '.testLogger'
    checkException: no visible binding for global variable '.testLogger'
    checkIdentical: no visible binding for global variable '.testLogger'
    checkTrue: no visible binding for global variable '.testLogger'
    runTestSuite: no visible binding for global variable '.testLogger'
  • checking Rd files ... OK
  • checking Rd cross-references ... OK
  • checking for missing documentation entries ... OK
  • checking for code/documentation mismatches ... OK
  • checking Rd \usage sections ... OK
  • creating RUnit-Ex.R ... OK
  • checking examples ... ERROR
    Running examples in 'RUnit-Ex.R' failed.
    The error most likely occurred in:

    > ### * textProtocol
    >
    > flush(stderr()); flush(stdout())
    >
    > ### Encoding: latin1
    >
    > ### Name: textProtocol
    > ### Title: Printing a plain text or HTML version of an RUnit test run.
    > ### Aliases: printTextProtocol printHTMLProtocol print.RUnitTestData
    > ### summary.RUnitTestData getErrors
    > ### Keywords: programming
    >
    > ### ** Examples
    >
    >
    > ## run some test suite
    > myTestSuite <- defineTestSuite("RUnit Example", system.file("examples", package="RUnit"), testFileRegexp="correctTestCase.r")
    > testResult <- runTestSuite(myTestSuite)


    Executing test function test.correctTestCase ... done successfully.

    >
    > ## prints detailed text protocol
    > ## to standard out:
    > printTextProtocol(testResult, showDetails=TRUE)
    RUNIT TEST PROTOCOL -- Wed Oct 22 01:56:24 2008
    ***********************************************
    Number of test functions: 1
    Number of errors: 0
    Number of failures: 0


    1 Test Suite :
    RUnit Example - 1 test function, 0 errors, 0 failures



    Details
    ***************************
    Test Suite: RUnit Example
    Test function regexp: ^test.+
    Test file regexp: correctTestCase.r
    Involved directory:
    /Builds/Rdev-web/QA/Simon/packages/tiger-universal/results/2.8/RUnit.Rcheck/RUnit/examples
    ---------------------------
    Test file: /Builds/Rdev-web/QA/Simon/packages/tiger-universal/results/2.8/RUnit.Rcheck/RUnit/examples/correctTestCase.r
    test.correctTestCase: (2 checks) ... OK (0 seconds)
    > ## prints detailed html protocol
    > ## to standard out
    > printHTMLProtocol(testResult)
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/transitional.dtd">
    <html><head><title>RUNIT TEST PROTOCOL--Wed Oct 22 01:56:24 2008</title>
    </head>
    <body><h1 TRUE>RUNIT TEST PROTOCOL--Wed Oct 22 01:56:24 2008</h1>
    <p>Number of test functions: 1</p>
    <p>Number of errors: 0</p>
    <p>Number of failures: 0</p>
    <hr>
    <h3 TRUE>1 Test suite</h3>
    <table border="1" width="60%" >
    <tr><th width="30%">Name</th>
    <th width="30%">Test functions</th>
    <th width="20%">Errors</th>
    <th width="20%">Failures</th>
    </tr>
    <tr><td><a href="#RUnit Example">RUnit Example</a></td>
    <td>1</td>
    <td>0</td>
    <td>0</td>
    </tr>
    </table>
    <hr>
    <h3 TRUE>Details</h3>
    <p><a name="RUnit Example"><h5 TRUE>Test Suite: RUnit Example</h5>
    </a>Test function regexp: ^test.+<br/>Test file regexp: correctTestCase.r<br/>Involved directory:<br/>/Builds/Rdev-web/QA/Simon/packages/tiger-universal/results/2.8/RUnit.Rcheck/RUnit/examples<br/><ul><li><a href="/Builds/Rdev-web/QA/Simon/packages/tiger-universal/results/2.8/RUnit.Rcheck/RUnit/examples/correctTestCase.r">Test file: correctTestCase.r</a><ul><li><a name="RUnit Example__Builds_Rdev-web_QA_Simon_packages_tiger-universal_results_2.8_RUnit.Rcheck_RUnit_examples_correctTestCase.r_test.correctTestCase">test.correctTestCase: (2 checks) ... OK (0 seconds)<br/></a></li></ul></li></ul><hr>
    Error in rbind(ver, gccVersion) : object "gccVersion" not found
    Calls: printHTMLProtocol -> rbind
    Execution halted
  • elapsed time (check, wall clock): 0:24