Skip to content

Commit

Permalink
[tmp] ci check
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleam committed Feb 12, 2025
1 parent a209fa0 commit 9635be2
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,18 @@ jobs:
config:
- os: ubuntu-22.04
r: 3.6.3
# For a texPreview that's still compatible with R < 4.0
rspm: 'https://packagemanager.posit.co/cran/__linux__/jammy/2022-03-25'
# details v0.4.0 requires R >= 4.2.0.
details_pkg: 'url::https://mpn.metworx.com/snapshots/stable/2023-12-05/src/contrib/details_0.3.0.tar.gz'
# texPreview v2.0.0 requires R >= 4.0.0.
texPreview_pkg: 'url::https://mpn.metworx.com/snapshots/stable/2022-03-21/src/contrib/texPreview_1.5.tar.gz'
- os: ubuntu-22.04
r: 4.0.5
# details v0.4.0 requires R >= 4.2.0.
details_pkg: 'url::https://mpn.metworx.com/snapshots/stable/2023-12-05/src/contrib/details_0.3.0.tar.gz'
- os: ubuntu-22.04
r: 4.1.3
# details v0.4.0 requires R >= 4.2.0.
details_pkg: 'url::https://mpn.metworx.com/snapshots/stable/2023-12-05/src/contrib/details_0.3.0.tar.gz'
- os: ubuntu-22.04
r: 4.2.3
- os: ubuntu-22.04
Expand All @@ -39,14 +45,14 @@ jobs:
with:
r-version: ${{ matrix.config.r }}
use-public-rspm: true
env:
RSPM: ${{ matrix.config.rspm }}
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: |
any::pkgdown
any::rcmdcheck
upgrade: ${{ matrix.config.r == '3.6.3' && 'FALSE' || 'TRUE' }}
${{ matrix.config.details_pkg }}
${{ matrix.config.texPreview_pkg }}
upgrade: ${{ (matrix.config.r == '3.6.3' || matrix.config.r == '4.0.5' || matrix.config.r == '4.1.3') && 'FALSE' || 'TRUE' }}
- name: Install other system dependencies
shell: bash
run: sudo apt-get install dvipng texlive-latex-base texlive-fonts-extra
Expand Down

0 comments on commit 9635be2

Please sign in to comment.