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

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

commit b8978fecea4580300c51be748a6afb99fb352974
Author: khalidmammadov <[email protected]>
AuthorDate: Mon Feb 21 11:04:48 2022 +0900

    [SPARK-38261][INFRA] Add missing R packages from base image
    
    Current GitHub workflow job **Linters, licenses, dependencies and 
documentation generation** is missing R packages to complete Documentation and 
API build.
    
    **Build and test** -  is not failing as these packages are installed on the 
base image.
    
    We need to keep them in-sync IMO with the base image for easy switch back 
to ubuntu runner when ready.
    
    Reference: [**The base 
image**](https://hub.docker.com/layers/dongjoon/apache-spark-github-action-image/20220207/images/sha256-af09d172ff8e2cbd71df9a1bc5384a47578c4a4cc293786c539333cafaf4a7ce?context=explore)
    
    Adding missing packages to the workflow file
    
    To make them inline with the base image config and make the job task 
**complete** for standalone execution (i.e. without this image)
    
    No
    
    GitHub builds and in the local Docker containers
    
    Closes #35583 from khalidmammadov/sync_doc_build_with_base.
    
    Authored-by: khalidmammadov <[email protected]>
    Signed-off-by: Hyukjin Kwon <[email protected]>
    (cherry picked from commit 898542746b2c56b2571562ed8e9818bcb565aff2)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 .github/workflows/build_and_test.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build_and_test.yml 
b/.github/workflows/build_and_test.yml
index 4d8e6db73e0..2d2e96fdee8 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -406,7 +406,7 @@ jobs:
         python3.9 -m pip install 'docutils<0.18.0' # See SPARK-39421
         apt-get update -y
         apt-get install -y ruby ruby-dev
-        Rscript -e "install.packages(c('devtools', 'testthat', 'knitr', 
'rmarkdown', 'roxygen2'), repos='https://cloud.r-project.org/')"
+        Rscript -e "install.packages(c('devtools', 'testthat', 'knitr', 
'rmarkdown', 'markdown', 'e1071', 'roxygen2'), 
repos='https://cloud.r-project.org/')"
         gem install bundler
         cd docs
         bundle install


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

Reply via email to