[MacPorts] #44427: py-rpy2 @2.4.2 python -m 'rpy2.tests' fails
#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
#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 Resolution: | Keywords: Port: py-rpy2 | --------------------------+-------------------------------- Comment (by stromnov@…): 1. Ipython is an optional dependency for rpy2 tests. 2. For some reasons manual tests from official documentation doesn't work (http://stackoverflow.com/questions/24662036/bug-with-rpy2-test-suite). But you can run tests via separate commands like: {{{python -m 'rpy2.robjects.tests.__init__'}}}. -- Ticket URL: <https://trac.macports.org/ticket/44427#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#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 Resolution: | Keywords: Port: py-rpy2 | --------------------------+-------------------------------- Comment (by lionteeth@…): Very helpful, thank you. Please close. -- Ticket URL: <https://trac.macports.org/ticket/44427#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#44427: py-rpy2 @2.4.2 python -m 'rpy2.tests' fails --------------------------+-------------------------------- Reporter: lionteeth@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: invalid | Keywords: Port: py-rpy2 | --------------------------+-------------------------------- Changes (by stromnov@…): * status: new => closed * resolution: => invalid -- Ticket URL: <https://trac.macports.org/ticket/44427#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts