This is an automated email from the ASF dual-hosted git repository.

omartushevskyi pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/develop by this push:
     new 3225e23  [DLAB-475] Parametrise also keras r package same as python 
library (for Debian)
     new b0601ce  Merge pull request #54 from ioleksandr/DLAB-475-d
3225e23 is described below

commit 3225e23b12f680ca343fa3ddbf45c2a6b07f6e06
Author: Oleksandr_Isniuk <[email protected]>
AuthorDate: Thu Mar 21 18:10:22 2019 +0200

    [DLAB-475] Parametrise also keras r package same as python library
    (for Debian)
---
 infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py 
b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
index 3f3aa31..8ddbf14 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
@@ -102,7 +102,7 @@ def ensure_r(os_user, r_libs, region, r_mirror):
             except:
                 sudo('R -e "options(download.file.method = 
"wget");library(\'devtools\');install_github(\'IRkernel/repr\');install_github(\'IRkernel/IRdisplay\');install_github(\'IRkernel/IRkernel\');"')
             if os.environ['application'] == 'tensor-rstudio':
-                sudo('R -e 
"library(\'devtools\');install_github(\'rstudio/keras\');"')
+                sudo('R -e "library(\'devtools\');install_version(\'keras\', 
version = \'{}\', repos = 
\'{}\');"'.format(os.environ['notebook_keras_version'],r_repository))
             sudo('R -e 
"install.packages(\'RJDBC\',repos=\'{}\',dep=TRUE)"'.format(r_repository))
             sudo('touch /home/' + os_user + '/.ensure_dir/r_ensured')
         except:


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to