You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by lf...@apache.org on 2021/04/08 08:29:32 UTC
[incubator-datalab] 01/01: [DATALAB-2091]: specified roxygen2
version
This is an automated email from the ASF dual-hosted git repository.
lfrolov pushed a commit to branch DATALAB-2358
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit cd97499aff502f0d0cf76e95a41c039db68d9fe0
Author: leonidfrolov <fr...@gmail.com>
AuthorDate: Thu Apr 8 11:27:17 2021 +0300
[DATALAB-2091]: specified roxygen2 version
---
infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py | 3 ++-
1 file changed, 2 insertions(+), 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 52a4359..b982476 100644
--- a/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/debian/notebook_lib.py
@@ -62,7 +62,8 @@ def ensure_r_local_kernel(spark_version, os_user, templates_dir, kernels_dir):
sudo('\cp -f /tmp/r_template.json {}/ir/kernel.json'.format(kernels_dir))
sudo('ln -s /opt/spark/ /usr/local/spark')
try:
- sudo('cd /usr/local/spark/R/lib/SparkR; R -e "install.packages(\'roxygen2\',repos=\'https://cloud.r-project.org\')" R -e "devtools::check(\'.\')"')
+ sudo('cd /usr/local/spark/R/lib/SparkR; R -e "devtools::install_version(\'roxygen2\', version = \'6.1.1\', '
+ 'repos = \'https://cloud.r-project.org\', dependencies = NA)" R -e "devtools::check(\'.\')"')
except:
pass
sudo('cd /usr/local/spark/R/lib/SparkR; R -e "devtools::install(\'.\')"')
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org