Not yet, not yet... but getting there. The segfault issues should be gone (thanks to an unusually long airport transit).
Beside the usual "test not yet implemented", and unicode + numpy array issue, there should only be: - few things with the new NA types (and by the time people have read the doc, use them and the are about to complain about - testing for the interruption of R code (won't block the release anyway) You have an extra issue with pickling, which I do not observe here with Python 2.6. The traceback point to something that is not rpy2-specific, but a part of the Python stdlib: tmp_file = tempfile.NamedTemporaryFile() Your Python install might have issues. Laurent On 3/14/10 12:40 AM, Yaroslav Halchenko wrote: > should we expect all unittests to pass? ;) > > I am getting following with 1093:198d59806bee > > $> python2.6 -c 'import rpy2.tests, unittest; tr = > unittest.TextTestRunner(verbosity = 1); suite = rpy2.tests.suite(); > tr.run(suite)' > ...F...Error in function (new = FALSE) : file choice cancelled > .......F..F............................F....................................Error: > unimplemented type 'char' in 'eval' > E....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 > .................Error in function (description, open = "", blocking = FALSE, > encoding = getOption("encoding")) : > cannot open the connection > In addition: Warning message: > In function (description, open = "", blocking = FALSE, encoding = > getOption("encoding")) : > cannot create fifo '/home/yoh/.tmp/RtmpGRWQ7r/Rf327b23c6', reason 'No such > file or directory' > E(/home/yoh/proj/rpy2/build/lib.linux-x86_64-2.6/rpy2/robjects/tests/testRObject.py:61): > testPickle > 61 tmp_file = tempfile.NamedTemporaryFile() > (Pydb) > E.............................Error in .Primitive("[")(0:10, list("a", "b", > "c")) : > invalid subscript type 'list' > ..................................................................F....................................... > ====================================================================== > ERROR: testNACharactertoR > (rpy2.rinterface.tests.test_SexpVector.NAValuesTestCase) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/home/yoh/proj/rpy2/build/lib.linux-x86_64-2.6/rpy2/rinterface/tests/test_SexpVector.py", > line 90, in testNACharactertoR > self.assertEquals(True, ri.baseenv["is.na"](na_character)[0]) > RRuntimeError: Error: unimplemented type 'char' in 'eval' > > > ====================================================================== > ERROR: testStr (rpy2.robjects.tests.testRObject.RObjectTestCase) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/home/yoh/proj/rpy2/build/lib.linux-x86_64-2.6/rpy2/robjects/tests/testRObject.py", > line 30, in testStr > s = prt.__str__() > File > "/home/yoh/proj/rpy2/build/lib.linux-x86_64-2.6/rpy2/robjects/robject.py", > line 29, in __str__ > tmp = self.__fifo(rpy2.rinterface.StrSexpVector(["", ])) > RRuntimeError: Error in function (description, open = "", blocking = FALSE, > encoding = getOption("encoding")) : > cannot open the connection > > > ====================================================================== > ERROR: testPickle (rpy2.robjects.tests.testRObject.RObjectPicklingTestCase) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/home/yoh/proj/rpy2/build/lib.linux-x86_64-2.6/rpy2/robjects/tests/testRObject.py", > line 61, in testPickle > tmp_file = tempfile.NamedTemporaryFile() > File > "/home/yoh/proj/rpy2/build/lib.linux-x86_64-2.6/rpy2/robjects/tests/testRObject.py", > line 61, in testPickle > tmp_file = tempfile.NamedTemporaryFile() > File "/usr/lib/pymodules/python2.6/pydb/gdb.py", line 249, in > trace_dispatch_gdb > sys.exit() > SystemExit > > ====================================================================== > FAIL: testInterruptR (rpy2.rinterface.tests.test_EmbeddedR.EmbeddedRTestCase) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/home/yoh/proj/rpy2/build/lib.linux-x86_64-2.6/rpy2/rinterface/tests/test_EmbeddedR.py", > line 107, in testInterruptR > self.assertFalse(ret_code is None) # Interruption failed > AssertionError > > ====================================================================== > FAIL: testSetShowMessage > (rpy2.rinterface.tests.test_EmbeddedR.CallbacksTestCase) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/home/yoh/proj/rpy2/build/lib.linux-x86_64-2.6/rpy2/rinterface/tests/test_EmbeddedR.py", > line 214, in testSetShowMessage > self.assertTrue(False) # no unit test (yet) > AssertionError > > ====================================================================== > FAIL: testShowMessageWithError > (rpy2.rinterface.tests.test_EmbeddedR.CallbacksTestCase) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/home/yoh/proj/rpy2/build/lib.linux-x86_64-2.6/rpy2/rinterface/tests/test_EmbeddedR.py", > line 220, in testShowMessageWithError > self.assertTrue(False) # no unit test (yet) > AssertionError > > ====================================================================== > FAIL: testGetItemLang > (rpy2.rinterface.tests.test_SexpVector.SexpVectorTestCase) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/home/yoh/proj/rpy2/build/lib.linux-x86_64-2.6/rpy2/rinterface/tests/test_SexpVector.py", > line 241, in testGetItemLang > self.assertEquals(ri.LANGSXP, y.typeof) > AssertionError: 6 != 1 > > ====================================================================== > FAIL: testNARealtoR (rpy2.rinterface.tests.test_SexpVector.NAValuesTestCase) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/home/yoh/proj/rpy2/build/lib.linux-x86_64-2.6/rpy2/rinterface/tests/test_SexpVector.py", > line 77, in testNARealtoR > self.assertEquals(True, ri.baseenv["is.na"](na_real)[0]) > AssertionError: True != False > > ====================================================================== > FAIL: testRtoNAReal (rpy2.rinterface.tests.test_SexpVector.NAValuesTestCase) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/home/yoh/proj/rpy2/build/lib.linux-x86_64-2.6/rpy2/rinterface/tests/test_SexpVector.py", > line 73, in testRtoNAReal > self.assertTrue(r_na_real is na_real) > AssertionError > > ====================================================================== > FAIL: testVectorUnicodeCharacter > (rpy2.robjects.tests.testNumpyConversions.NumpyConversionsTestCase) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > "/home/yoh/proj/rpy2/build/lib.linux-x86_64-2.6/rpy2/robjects/tests/testNumpyConversions.py", > line 53, in testVectorUnicodeCharacter > self.assertTrue(False) # arrays of unicode characters causing segfault > AssertionError > > ---------------------------------------------------------------------- > Ran 265 tests in 2.699s > > FAILED (failures=7, errors=3) > > > > On Sat, 13 Mar 2010, Laurent Gautier wrote: > >> Hi, > >> rpy2-2.1beta is out. Stability issues since 2.1.0alpha3 were addressed. >> Source packages are available on bitbucket and sourceforge. > >> Win32 compilation, and eventually binaries, could come next and be >> available for the release candidate thanks to an anonymous patch >> contribution. > > >> Laurent > >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> rpy-list mailing list >> rpy-list@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/rpy-list > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list