I performed the unit testing and here are my results:

Note: Software Versions: R 2.7.2     Python 2.5.1

$ python
Python 2.5.1 (r251:54863, Jul 31 2008, 23:17:40) 
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import rpy2.tests
>>> import unittest
>>> tr = unittest.TextTestRunner(verbosity = 1)
>>> suite = rpy2.tests.suite()
>>> tr.run(suite)

..................Error in .Primitive("[")(0:10, list("a", "b", "c")) : 
  invalid subscript type 'list'

....................................................E..F....Loading
required package: splines

..................Error in function (x)  : object "y" not found

...Error in .Primitive("sum")(c("a", "b", "c", "d", "e", "f", "g", "h",
"i",  : 
  invalid 'type' (character) of argument

......F......................................
======================================================================
ERROR: testNewString
(rpy2.rinterface.tests.test_SexpVector.SexpVectorTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/lib/python2.5/site-packages/rpy2/rinterface/tests/test_SexpVector.py", 
line 95, in testNewString
    ri.NA_STRING[0]
ValueError: Cannot handle type 9

======================================================================
FAIL: testNewWithoutInit
(rpy2.rinterface.tests.test_SexpVector.SexpVectorTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/lib/python2.5/site-packages/rpy2/rinterface/tests/test_SexpVector.py", 
line 37, in testNewWithoutInit
    self.assertTrue(False) # worked when tested, but calling
endEmbeddedR causes trouble
AssertionError

======================================================================
FAIL: testCallErrorWhenEndedR
(rpy2.rinterface.tests.test_EmbeddedR.EmbeddedRTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/lib/python2.5/site-packages/rpy2/rinterface/tests/test_EmbeddedR.py", 
line 30, in testCallErrorWhenEndedR
    self.assertTrue(False) # worked when tested, but calling
endEmbeddedR causes trouble
AssertionError

----------------------------------------------------------------------
Ran 144 tests in 0.269s

FAILED (failures=2, errors=1)
<unittest._TextTestResult run=144 errors=1 failures=2>
>>> 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to