Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion dev/conbench_envs/hooks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,12 @@ build_arrow_python() {
}

install_r() {
# install R using rig not conda so we can use RSPM binaries for faster dependency installs
if ! command -v R &> /dev/null; then
curl -Ls https://github.com/r-lib/rig/releases/download/latest/rig-linux-latest.tar.gz | sudo tar xz -C /usr/local
sudo rig add release
# Amazon Linux 2023 isn't directly supported by rig, but it's RHEL-based
# so we override the platform detection to use RHEL 9 binaries
sudo RIG_PLATFORM="linux-rhel-9" rig add release
sudo rig default release
fi
}
Expand Down