Revision 03eba096262895f72f98ef0530c78482e1d63275 authored by Ruifeng Zheng on 22 July 2022, 03:11:57 UTC, committed by Hyukjin Kwon on 22 July 2022, 03:12:21 UTC
### What changes were proposed in this pull request?
move `libfontconfig1-dev libharfbuzz-dev libfribidi-dev libfreetype6-dev libpng-dev libtiff5-dev libjpeg-dev` from Install dependencies for documentation generation to Install R linter dependencies and SparkR

Update after https://github.com/apache/spark/pull/37243: **add `apt update` before installation.**

### Why are the changes needed?
to make CI happy

Install R linter dependencies and SparkR started to fail after devtools_2.4.4 was released.

```
 --------------------------- [ANTICONF] --------------------------------
Configuration failed to find the fontconfig freetype2 library. Try installing:
 * deb: libfontconfig1-dev (Debian, Ubuntu, etc)
 * rpm: fontconfig-devel (Fedora, EPEL)
 * csw: fontconfig_dev (Solaris)
 * brew: freetype (OSX)
it seems that libfontconfig1-dev is needed now.
```

also refer to https://github.com/r-lib/systemfonts/issues/35#issuecomment-633560151

### Does this PR introduce any user-facing change?
No

### How was this patch tested?
CI passed

Closes #37247 from Yikun/patch-25.

Lead-authored-by: Ruifeng Zheng <ruifengz@apache.org>
Co-authored-by: Yikun Jiang <yikunkero@gmail.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit ffa82c219029a7f6f3caf613dd1d0ab56d0c599e)
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
1 parent f344bf9
History

README.md

back to top