You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/05/02 06:21:59 UTC

[GitHub] [airflow] OmerJog commented on issue #3115: [AIRFLOW-2193] Add ROperator for using R

OmerJog commented on issue #3115: [AIRFLOW-2193] Add ROperator for using R
URL: https://github.com/apache/airflow/pull/3115#issuecomment-488564330
 
 
   There is an error:
   ```
   38) ERROR: Failure: ValueError (r_home is None. Try python -m rpy2.situation)
   ----------------------------------------------------------------------
      Traceback (most recent call last):
       .tox/py35-backend_mysql-env_docker/lib/python3.5/site-packages/nose/failure.py line 39 in runTest
         raise self.exc_val.with_traceback(self.tb)
       .tox/py35-backend_mysql-env_docker/lib/python3.5/site-packages/nose/loader.py line 418 in loadTestsFromName
         addr.filename, addr.module)
       .tox/py35-backend_mysql-env_docker/lib/python3.5/site-packages/nose/importer.py line 47 in importFromPath
         return self.importFromDir(dir_path, fqname)
       .tox/py35-backend_mysql-env_docker/lib/python3.5/site-packages/nose/importer.py line 94 in importFromDir
         mod = load_module(part_fqname, fh, filename, desc)
       /app/.tox/py35-backend_mysql-env_docker/lib/python3.5/imp.py line 234 in load_module
         return load_source(name, filename, file)
       /app/.tox/py35-backend_mysql-env_docker/lib/python3.5/imp.py line 172 in load_source
         module = _load(spec)
       <frozen importlib._bootstrap> line 693 in _load
         
       <frozen importlib._bootstrap> line 673 in _load_unlocked
         
       <frozen importlib._bootstrap_external> line 665 in exec_module
         
       <frozen importlib._bootstrap> line 222 in _call_with_frames_removed
         
       tests/contrib/operators/test_r_operator.py line 20 in <module>
         from airflow.contrib.operators.r_operator import ROperator
       airflow/contrib/operators/r_operator.py line 24 in <module>
         import rpy2.robjects as robjects
       .tox/py35-backend_mysql-env_docker/lib/python3.5/site-packages/rpy2/robjects/__init__.py line 14 in <module>
         import rpy2.rinterface as rinterface
       .tox/py35-backend_mysql-env_docker/lib/python3.5/site-packages/rpy2/rinterface.py line 4 in <module>
         from rpy2.rinterface_lib import openrlib
       .tox/py35-backend_mysql-env_docker/lib/python3.5/site-packages/rpy2/rinterface_lib/openrlib.py line 21 in <module>
         rlib = _dlopen_rlib(R_HOME)
       .tox/py35-backend_mysql-env_docker/lib/python3.5/site-packages/rpy2/rinterface_lib/openrlib.py line 14 in _dlopen_rlib
         raise ValueError('r_home is None. '
      ValueError: r_home is None. Try python -m rpy2.situation
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services