You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2022/08/03 21:07:10 UTC

[spark] branch master updated: [SPARK-39959][BUILD][INFRA] Pin roxygen2 version to 7.2.0 in infra

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

dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 432b667dea7 [SPARK-39959][BUILD][INFRA] Pin roxygen2 version to 7.2.0 in infra
432b667dea7 is described below

commit 432b667dea75ede0c59d9f3f73231ddbea149202
Author: Yikun Jiang <yi...@gmail.com>
AuthorDate: Wed Aug 3 14:06:48 2022 -0700

    [SPARK-39959][BUILD][INFRA] Pin roxygen2 version to 7.2.0 in infra
    
    ### What changes were proposed in this pull request?
    Pin `roxygen2` to 7.2.0 to make sparkr job work
    
    ### Why are the changes needed?
    R job failed due to `checking for missing documentation entries`
    
    ### Does this PR introduce _any_ user-facing change?
    No
    
    ### How was this patch tested?
    All CI passed (lint/sparkr/pyspark)
    
    Closes #37399 from Yikun/patch-29.
    
    Authored-by: Yikun Jiang <yi...@gmail.com>
    Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
 dev/infra/Dockerfile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dev/infra/Dockerfile b/dev/infra/Dockerfile
index 005727a518a..b0ae2dcb0c6 100644
--- a/dev/infra/Dockerfile
+++ b/dev/infra/Dockerfile
@@ -55,5 +55,12 @@ RUN apt update
 RUN $APT_INSTALL r-base libcurl4-openssl-dev qpdf libssl-dev zlib1g-dev
 RUN Rscript -e "install.packages(c('knitr', 'markdown', 'rmarkdown', 'testthat', 'devtools', 'e1071', 'survival', 'arrow', 'roxygen2', 'xml2'), repos='https://cloud.r-project.org/')"
 
+# See more in SPARK-39959, roxygen2 < 7.2.1
+RUN apt-get install -y libcurl4-openssl-dev libgit2-dev libssl-dev libxml2-dev \
+          libfontconfig1-dev libharfbuzz-dev libfribidi-dev libfreetype6-dev libpng-dev \
+          libtiff5-dev libjpeg-dev
+RUN Rscript -e "install.packages(c('devtools'), repos='https://cloud.r-project.org/')"
+RUN Rscript -e "devtools::install_version('roxygen2', version='7.2.0', repos='https://cloud.r-project.org')"
+
 # See more in SPARK-39735
 ENV R_LIBS_SITE "/usr/local/lib/R/site-library:${R_LIBS_SITE}:/usr/lib/R/library"


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org