Skip to content

Commit 6e01b24

Browse files
committed
Update release image and docs README.md
1 parent 358cc5c commit 6e01b24

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

dev/create-release/spark-rm/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,11 @@ RUN apt-get clean && apt-get update && $APT_INSTALL gnupg ca-certificates && \
8080
$APT_INSTALL r-base r-base-dev && \
8181
$APT_INSTALL libcurl4-openssl-dev libgit2-dev libssl-dev libxml2-dev && \
8282
$APT_INSTALL texlive-latex-base texlive texlive-fonts-extra texinfo qpdf && \
83+
$APT_INSTALL libfontconfig1-dev libharfbuzz-dev libfribidi-dev libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev && \
8384
Rscript -e "install.packages(c('curl', 'xml2', 'httr', 'devtools', 'testthat', 'knitr', 'rmarkdown', 'roxygen2', 'e1071', 'survival'), repos='https://cloud.r-project.org/')" && \
8485
Rscript -e "devtools::install_github('jimhester/lintr')" && \
86+
Rscript -e "devtools::install_version('pkgdown', version='2.0.1', repos='https://cloud.r-project.org')" && \
87+
Rscript -e "devtools::install_version('preferably', version='0.4', repos='https://cloud.r-project.org')" && \
8588
# Install tools needed to build the documentation.
8689
$APT_INSTALL ruby2.7 ruby2.7-dev && \
8790
gem install --no-document $GEM_PKGS

docs/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ and install these libraries:
5656
```sh
5757
$ sudo Rscript -e 'install.packages(c("knitr", "devtools", "testthat", "rmarkdown"), repos="https://cloud.r-project.org/")'
5858
$ sudo Rscript -e 'devtools::install_version("roxygen2", version = "7.1.1", repos="https://cloud.r-project.org/")'
59+
$ sudo Rscript -e "devtools::install_version('pkgdown', version='2.0.1', repos='https://cloud.r-project.org')"
60+
$ sudo Rscript -e "devtools::install_version('preferably', version='0.4', repos='https://cloud.r-project.org')"
5961
```
6062

6163
Note: Other versions of roxygen2 might work in SparkR documentation generation but `RoxygenNote` field in `$SPARK_HOME/R/pkg/DESCRIPTION` is 7.1.1, which is updated if the version is mismatched.

0 commit comments

Comments
 (0)