Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E2E test: fix R dependencies issues for tests #6041

Merged
merged 4 commits into from
Jan 17, 2025
Merged
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
6 changes: 3 additions & 3 deletions .github/actions/install-r/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ runs:
curl -Ls /~https://github.com/r-lib/rig/releases/download/latest/rig-linux-"$(arch)"-latest.tar.gz | sudo tar xz -C /usr/local
rig add "$R_VERSION"

- name: Configure Posit PPM for Ubuntu 22.04 with Custom HTTP User-Agent
- name: Configure Posit PPM for Ubuntu 24.04 with Custom HTTP User-Agent
shell: bash
run: |
echo "Configuring R to use Posit Package Manager for Jammy..."
echo "Configuring R to use Posit Package Manager for Ubuntu 24.04..."
cat <<EOF > ~/.Rprofile
options(
repos = c(RSPM = "https://packagemanager.posit.co/cran/__linux__/jammy/latest"),
repos = c(RSPM = "https://packagemanager.posit.co/cran/__linux__/noble/latest"),
HTTPUserAgent = sprintf(
"R/%s (%s) R (%s)",
getRversion(), "ubuntu-2404",
Expand Down
Loading