Hi
I am tesing rpy2 on linux with the following recipe:
3 tests fail, Linux x86_64, numpy-1.3, python-2.6.4
Here is the output:
.......................Error in .Primitive("[")(0:10, list("a", "b", "c")) :
invalid subscript type 'list'
..........................................F.......................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............................................
======================================================================
FAIL: testVectorUnicodeCharacter (rpy2.robjects.tests.testNumpyConversions.NumpyConversionsTestCase)
Traceback (most recent call last):
File "/var/tmp/portage/dev-python/rpy-2.0.6/work/rpy2-2.0.6/build/lib.linux-x86_64-2.6/rpy2/robjects/tests/testNumpyConversions.py", line 54, in testVectorUnicodeCharacter
self.assertTrue(False) # arrays of unicode characters causing segfault
AssertionError
======================================================================
FAIL: testNewWithoutInit (rpy2.rinterface.tests.test_SexpVector.SexpVectorTestCase)
Traceback (most recent call last):
File "/var/tmp/portage/dev-python/rpy-2.0.6/work/rpy2-2.0.6/build/lib.linux-x86_64-2.6/rpy2/rinterface/tests/test_SexpVector.py", line 43, 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 "/var/tmp/portage/dev-python/rpy-2.0.6/work/rpy2-2.0.6/build/lib.linux-x86_64-2.6/rpy2/rinterface/tests/test_EmbeddedR.py", line 122, in testCallErrorWhenEndedR
self.assertTrue(False) # worked when tested, but calling endEmbeddedR causes trouble
AssertionError
Ran 171 tests in 0.488s
FAILED (failures=3)
Anonymous
Thanks.
The bugs are known since the tests , and the number of expected failures almost correctly documented
(http://rpy.sourceforge.net/rpy2/doc/html/overview.html#test-an-installation).
The documentation for version 2.0.8 will have a more specific warning.