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/06/25 07:32:15 UTC
[spark] branch master updated: [SPARK-39596][INFRA] Install `ggplot2` for GitHub Action linter job
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 8f744783531 [SPARK-39596][INFRA] Install `ggplot2` for GitHub Action linter job
8f744783531 is described below
commit 8f744783531d4f62abdf82643b5eb34d54a2820b
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 ff1a47c256b..941400b6f4e 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -484,6 +484,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