You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by gu...@apache.org on 2022/06/25 11:39:11 UTC
[spark] 01/02: [SPARK-39596][INFRA] Install `ggplot2` for GitHub Action linter job
This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/spark.git
commit bf59f6e4bd7f34f8a36bfef1e93e0ddccddf9e43
Author: Dongjoon Hyun <do...@apache.org>
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 <do...@apache.org>
Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
.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 e0e9f70556c..3afdb942f8e 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -509,6 +509,7 @@ jobs:
apt-get install -y libcurl4-openssl-dev libgit2-dev libssl-dev libxml2-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: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org