This is an automated email from the ASF dual-hosted git repository.
raulcd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 54cd7c77ac GH-50318: [R][CI] Install missing libpng-dev for
test-r-linux-as-cran (#50328)
54cd7c77ac is described below
commit 54cd7c77ac52155c539cbb60024b6c22a3277ba5
Author: Sutou Kouhei <[email protected]>
AuthorDate: Thu Jul 2 17:24:37 2026 +0900
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]>
---
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 237e0e9408..042d6a5c9a 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