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 706cecdc02833e2ea8f2137383cd0ff1222e8f44
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Sat Jun 25 00:31:54 2022 -0700

    [SPARK-39596][INFRA] Install `ggplot2` for GitHub Action linter job
    
    ### What changes were proposed in this pull request?
    
    This PR aims to fix GitHub Action linter job by installing `ggplot2`.
    
    ### Why are the changes needed?
    
    It starts to fail like the following.
    - https://github.com/apache/spark/runs/7047294196?check_suite_focus=true
    ```
    x Failed to parse Rd in histogram.Rd
    ℹ there is no package called ‘ggplot2’
    ```
    
    ### Does this PR introduce _any_ user-facing change?
    
    No. This is a dev-only change.
    
    ### How was this patch tested?
    
    Pass the GitHub Action linter job.
    
    Closes #36987 from dongjoon-hyun/SPARK-39596.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit bf59f6e4bd7f34f8a36bfef1e93e0ddccddf9e43)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 .github/workflows/build_and_test.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/build_and_test.yml 
b/.github/workflows/build_and_test.yml
index 2d2e96fdee8..7639fea7e79 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -385,6 +385,7 @@ jobs:
           libtiff5-dev libjpeg-dev
         Rscript -e "install.packages(c('devtools'), 
repos='https://cloud.r-project.org/')"
         Rscript -e "devtools::install_version('lintr', version='2.0.1', 
repos='https://cloud.r-project.org')"
+        Rscript -e "install.packages(c('ggplot2'), 
repos='https://cloud.r-project.org/')"
         ./R/install-dev.sh
     - name: Instll JavaScript linter dependencies
       run: |


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

Reply via email to