Skip to content

Commit

Permalink
E2E test: fix R dependencies issues for tests (#6041)
Browse files Browse the repository at this point in the history
Get R dependencies from proper location.

### QA Notes

All tests should pass.

@:quarto

---------

Co-authored-by: Chris Mead <[email protected]>
  • Loading branch information
midleman and testlabauto authored Jan 17, 2025
1 parent 68aa099 commit b48530a
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit b48530a

Please sign in to comment.