Skip to content

Commit

Permalink
Install specific R from posit deb
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyWillard committed Oct 16, 2024
1 parent dbd692e commit 9c1b95d
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/flepicommon-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,16 @@ jobs:
uses: actions/checkout@v4
with:
lfs: true
- name: Setup R ${{ matrix.R-version }}
uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.R-version }}
- name: Install R
run: |
UBUNTU_VERSION=$( echo "$( lsb_release -r )" | awk '{print $2}' | sed 's/\.//g' )
curl -O https://cdn.rstudio.com/r/ubuntu-${UBUNTU_VERSION}/pkgs/r-${R_VERSION}_1_amd64.deb
sudo apt-get update
sudo apt-get install ./r-${R_VERSION}_1_amd64.deb
R --version
shell: bash
env:
R_VERSION: ${{ matrix.R-version }}
- name: Build flepicommon
run: |
R CMD build flepimop/R_packages/flepicommon/
Expand Down

0 comments on commit 9c1b95d

Please sign in to comment.