[MacPorts] #44427: py-rpy2 @2.4.2 python -m 'rpy2.tests' fails
MacPorts
noreply at macports.org
Thu Jul 24 10:42:13 PDT 2014
#44427: py-rpy2 @2.4.2 python -m 'rpy2.tests' fails
-------------------------+--------------------------------
Reporter: lionteeth@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.1
Keywords: | Port: py-rpy2
-------------------------+--------------------------------
On a fresh build of R and py-rpy2:
{{{
$ python -m 'rpy2.tests'
rpy2 version: 2.4.2
- built against R version: 3-1.0--65387
- running linked to R version: R version 3.1.0 (2014-04-10)
E
======================================================================
ERROR: __main__ (unittest.loader.LoadTestsFailure)
----------------------------------------------------------------------
ImportError: Start directory is not importable: 'ipython'
----------------------------------------------------------------------
Ran 1 test in 0.000s
FAILED (errors=1)
}}}
Or also
{{{
$ python
Python 2.7.8 (default, Jul 13 2014, 17:11:32)
[GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import rpy2
>>> import rpy2.tests
>>> import unittest
>>> tr = unittest.TextTestRunner(verbosity = 1)
>>> suite = rpy2.tests.suite()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'suite'
}}}
Are these different versions of R or just labeled differently?
Cheers,
Dave
--
Ticket URL: <https://trac.macports.org/ticket/44427>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list