Skip to content

Commit 706cecd

Browse files
committed
[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 <dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit bf59f6e) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
1 parent b8978fe commit 706cecd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build_and_test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,7 @@ jobs:
385385
libtiff5-dev libjpeg-dev
386386
Rscript -e "install.packages(c('devtools'), repos='https://cloud.r-project.org/')"
387387
Rscript -e "devtools::install_version('lintr', version='2.0.1', repos='https://cloud.r-project.org')"
388+
Rscript -e "install.packages(c('ggplot2'), repos='https://cloud.r-project.org/')"
388389
./R/install-dev.sh
389390
- name: Instll JavaScript linter dependencies
390391
run: |

0 commit comments

Comments
 (0)