This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new d98b3a18a1 GH-36750: [R] Fix test-r-devdocs on MacOS (#36751)
d98b3a18a1 is described below
commit d98b3a18a1985c59295e54c635060caf8a0bbd42
Author: Dewey Dunnington <[email protected]>
AuthorDate: Thu Jul 20 17:58:29 2023 -0300
GH-36750: [R] Fix test-r-devdocs on MacOS (#36751)
### Rationale for this change
The test-r-devdocs job is failing. It is failing because we are pinning a
version of R that is so old that CRAN no longer serves binaries (#31757), so
some of the package builds are failing.
### What changes are included in this PR?
Use the `setup-r-dependencies` action which either installs the correct
build dependencies or uses older binary versions to avoid building from source
(or both).
### Are these changes tested?
Yes, as part of the test-r-devdocs job.
### Are there any user-facing changes?
No.
* Closes: #36750
Authored-by: Dewey Dunnington <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
dev/tasks/r/github.devdocs.yml | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/dev/tasks/r/github.devdocs.yml b/dev/tasks/r/github.devdocs.yml
index 7126b14182..0839e7fc6a 100644
--- a/dev/tasks/r/github.devdocs.yml
+++ b/dev/tasks/r/github.devdocs.yml
@@ -38,10 +38,9 @@ jobs:
# remove after https://issues.apache.org/jira/browse/ARROW-16376
r-version: '4.1'
- uses: r-lib/actions/setup-pandoc@v2
- - name: Install knitr, rmarkdown
- run: |
- install.packages(c("rmarkdown", "knitr", "sessioninfo"))
- shell: Rscript {0}
+ - uses: r-lib/actions/setup-r-dependencies@v2
+ with:
+ packages: "rmarkdown, knitr, sessioninfo"
- name: Session info
run: |
options(width = 100)