Skip to content

Commit 35e0f63

Browse files
kouraulcd
authored andcommitted
GH-50318: [R][CI] Install missing libpng-dev for test-r-linux-as-cran (#50328)
### Rationale for this change We need `libpng-dev` for the png R package. ### What changes are included in this PR? Install `libpng-dev`. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * GitHub Issue: #50318 Authored-by: Sutou Kouhei <[email protected]> Signed-off-by: Raúl Cumplido <[email protected]>
1 parent 61ca7a9 commit 35e0f63

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎ci/scripts/r_install_system_dependencies.sh‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,11 @@ fi
3838
# Install curl, OpenSSL, and libuv
3939
# - curl/OpenSSL: technically only needed for S3/GCS support, but
4040
# installing the R curl package fails without it
41+
# - libpng: required by the png R package
4142
# - libuv: required by the fs R package (no longer bundles libuv by default)
4243
case "$PACKAGE_MANAGER" in
4344
apt-get)
44-
apt-get install -y libcurl4-openssl-dev libssl-dev libuv1-dev
45+
apt-get install -y libcurl4-openssl-dev libpng-dev libssl-dev libuv1-dev
4546
;;
4647
apk)
4748
$PACKAGE_MANAGER add curl-dev openssl-dev libuv-dev

0 commit comments

Comments
 (0)