Dear Mr. Gautier, I succeeded in installing Rpy2 on Windows XP (On Vista, I got errors). I, therefore, tested my installation as follows: import rpy2.tests import unittest tr = unittest.TextTestRunner(verbosity = 1) suite = rpy2.tests.suite() tr.run(suite)
As a result, I got 8 failures. One of these failures is normal because I installed Python 2.5.4 but what about the others? Are they normal? Thanks. I am grateful for your response. Best regards, Roseline
..............................................................F..F.......................F..................................F.FFF...F.................................... ====================================================================== FAIL: testVectorComplex (rpy2.robjects.tests.testNumpyConversions.NumpyConversionsTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\Python25\lib\site-packages\rpy2\robjects\tests\testNumpyConversions.py", line 45, in testVectorComplex self.assertTrue(False) # arrays of complex causing segfault AssertionError ====================================================================== FAIL: testVectorUnicodeCharacter (rpy2.robjects.tests.testNumpyConversions.NumpyConversionsTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\Python25\lib\site-packages\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 "C:\Python25\lib\site-packages\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 "C:\Python25\lib\site-packages\rpy2\rinterface\tests\test_EmbeddedR.py", line 133, in testCallErrorWhenEndedR self.assertTrue(False) # worked when tested, but calling endEmbeddedR causes trouble AssertionError ====================================================================== FAIL: testReadConsoleWithError (rpy2.rinterface.tests.test_EmbeddedR.EmbeddedRTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\Python25\lib\site-packages\rpy2\rinterface\tests\test_EmbeddedR.py", line 110, in testReadConsoleWithError self.assertTrue(False) # cannot be tested with Python < 2.6 AssertionError ====================================================================== FAIL: testSetReadConsole (rpy2.rinterface.tests.test_EmbeddedR.EmbeddedRTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\Python25\lib\site-packages\rpy2\rinterface\tests\test_EmbeddedR.py", line 105, in testSetReadConsole self.assertEquals(yes.strip(), res[0]) AssertionError: 'yes' != '' ====================================================================== FAIL: testSetWriteConsole (rpy2.rinterface.tests.test_EmbeddedR.EmbeddedRTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\Python25\lib\site-packages\rpy2\rinterface\tests\test_EmbeddedR.py", line 36, in testSetWriteConsole self.assertEquals('[1] "3"\n', str.join('', buf)) AssertionError: '[1] "3"\n' != '' ====================================================================== FAIL: testWriteConsoleWithError (rpy2.rinterface.tests.test_EmbeddedR.EmbeddedRTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\Python25\lib\site-packages\rpy2\rinterface\tests\test_EmbeddedR.py", line 40, in testWriteConsoleWithError self.assertTrue(False) # cannot be tested with Python < 2.6 AssertionError ---------------------------------------------------------------------- Ran 169 tests in 0.875s FAILED (failures=8) <unittest._TextTestResult run=169 errors=0 failures=8>
------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list