From d2645b428be64db81aa3a282522b21c6abdea9de Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Thu, 2 Jul 2026 10:59:52 +0900 Subject: [PATCH] GH-50318: [R][CI] Install missing libpng-dev for test-r-linux-as-cran --- ci/scripts/r_install_system_dependencies.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/scripts/r_install_system_dependencies.sh b/ci/scripts/r_install_system_dependencies.sh index 237e0e9408b3..042d6a5c9adb 100755 --- a/ci/scripts/r_install_system_dependencies.sh +++ b/ci/scripts/r_install_system_dependencies.sh @@ -38,10 +38,11 @@ fi # Install curl, OpenSSL, and libuv # - curl/OpenSSL: technically only needed for S3/GCS support, but # installing the R curl package fails without it +# - libpng: required by the png R package # - libuv: required by the fs R package (no longer bundles libuv by default) case "$PACKAGE_MANAGER" in apt-get) - apt-get install -y libcurl4-openssl-dev libssl-dev libuv1-dev + apt-get install -y libcurl4-openssl-dev libpng-dev libssl-dev libuv1-dev ;; apk) $PACKAGE_MANAGER add curl-dev openssl-dev libuv-dev