Skip to content

Commit 7722de6

Browse files
committed
Installs qpdf package for CRAN check in GitHub Actions
1 parent 12f443c commit 7722de6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/master.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@ jobs:
164164
- name: Install R packages
165165
if: contains(matrix.modules, 'sparkr')
166166
run: |
167-
sudo apt-get install -y libcurl4-openssl-dev
167+
# qpdf is required to reduce the size of PDFs to make CRAN check pass. See SPARK-32497.
168+
sudo apt-get install -y libcurl4-openssl-dev qpdf
168169
sudo Rscript -e "install.packages(c('knitr', 'rmarkdown', 'testthat', 'devtools', 'e1071', 'survival', 'arrow', 'roxygen2'), repos='https://cloud.r-project.org/')"
169170
# Show installed packages in R.
170171
sudo Rscript -e 'pkg_list <- as.data.frame(installed.packages()[, c(1,3:4)]); pkg_list[is.na(pkg_list$Priority), 1:2, drop = FALSE]'

0 commit comments

Comments
 (0)