Bugs item #2892131, was opened at 2009-11-04 20:32
Message generated for change (Settings changed) made by lgautier
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=453021&aid=2892131&group_id=48422

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: rpy2
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: lgautier (lgautier)
Summary: rpy2-2.0.6 fails tests

Initial Comment:
Hi

I am tesing rpy2 on linux with the following recipe:
# python setup.py build
# cd build/lib*
# PYTHONPATH=. python py2/tests.py

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)




----------------------------------------------------------------------

>Comment By: lgautier (lgautier)
Date: 2009-11-04 20:51

Message:
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.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=453021&aid=2892131&group_id=48422

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to