Package: python-rpy2
Version: 2.0.6-1
Severity: minor
FWIW -- was reading manual online and decided to give it a try
$> ipython
Total number of aliases: 15
Python 2.5.4 (r254:67916, Feb 18 2009, 03:00:47)
Type "copyright", "credits" or "license" for more information.
IPython 0.9.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
In [1]:cpaste
Pasting code; enter '--' alone on the line to stop.
:import rpy2.tests
:import unittest
:
:# the verbosity level can be increased if needed
: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'
..........................................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.---------------------------------------------------------------------------
Exception Traceback (most recent call last)
/usr/lib/python2.5/site-packages/rpy2/rinterface/tests/test_EmbeddedR.pyc in
f(prompt)
100 def testReadConsoleWithError(self):
101 def f(prompt):
--> 102 raise Exception("Doesn't work.")
103 rinterface.setReadConsole(f)
104
Exception: Doesn't work.
F.....---------------------------------------------------------------------------
Exception Traceback (most recent call last)
/usr/lib/python2.5/site-packages/rpy2/rinterface/tests/test_EmbeddedR.pyc in
f(x)
38 def testWriteConsoleWithError(self):
39 def f(x):
---> 40 raise Exception("Doesn't work.")
41 rinterface.setWriteConsole(f)
42
Exception: Doesn't work.
---------------------------------------------------------------------------
Exception Traceback (most recent call last)
/usr/lib/python2.5/site-packages/rpy2/rinterface/tests/test_EmbeddedR.pyc in
f(x)
38 def testWriteConsoleWithError(self):
39 def f(x):
---> 40 raise Exception("Doesn't work.")
41 rinterface.setWriteConsole(f)
42
Exception: Doesn't work.
---------------------------------------------------------------------------
Exception Traceback (most recent call last)
/usr/lib/python2.5/site-packages/rpy2/rinterface/tests/test_EmbeddedR.pyc in
f(x)
38 def testWriteConsoleWithError(self):
39 def f(x):
---> 40 raise Exception("Doesn't work.")
41 rinterface.setWriteConsole(f)
42
Exception: Doesn't work.
F....................................
======================================================================
FAIL: testVectorUnicodeCharacter
(rpy2.robjects.tests.testNumpyConversions.NumpyConversionsTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/lib/python2.5/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
"/usr/lib/python2.5/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
"/usr/lib/python2.5/site-packages/rpy2/rinterface/tests/test_EmbeddedR.py",
line 122, 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
"/usr/lib/python2.5/site-packages/rpy2/rinterface/tests/test_EmbeddedR.py",
line 117, in testReadConsoleWithError
self.assertTrue(errorstring.startswith('Traceback'))
AssertionError
======================================================================
FAIL: testWriteConsoleWithError
(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 55, in testWriteConsoleWithError
self.assertTrue(errorstring.startswith('Traceback'))
AssertionError
----------------------------------------------------------------------
Ran 171 tests in 0.699s
FAILED (failures=5)
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31-rc5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-rpy2 depends on:
ii libatlas3gf-base [liblapack.s 3.6.0-24 Automatically Tuned Linear Algebra
ii libblas3gf [libblas.so.3gf] 1.2-2 Basic Linear Algebra Subroutines 3
ii libc6 2.9-23 GNU C Library: Shared libraries
ii liblapack3gf [liblapack.so.3g 3.2.1-1 library of linear algebra routines
ii python 2.5.4-2 An interactive high-level object-o
ii python-central 0.6.11 register and build utility for Pyt
ii python-numpy 1:1.2.1-1 Numerical Python adds a fast array
ii r-base-core 2.9.1-2 GNU R core of statistical computat
python-rpy2 recommends no packages.
Versions of packages python-rpy2 suggests:
pn python-rpy-docs <none> (no description available)
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]