Skip to content

Commit

Permalink
Update R-CMD-check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ms609 committed Jun 27, 2024
1 parent dc37d90 commit 56e587d
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/R-CMD-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ jobs:
config:
- {os: windows-latest, r: 'release'}
- {os: macOS-latest, r: 'release'}
- {os: ubuntu-20.04, r: '4.1', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
- {os: ubuntu-20.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
- {os: ubuntu-20.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
- {os: ubuntu-latest, r: '4.1', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
- {os: ubuntu-latest, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
- {os: ubuntu-latest, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}

env:
_R_CHECK_CRAN_INCOMING_: true # Seemingly not set by --as-cran
Expand All @@ -71,21 +71,21 @@ jobs:
uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
extra-repositories: https://ms609.github.io/packages/

- name: Install apt packages (Linux)
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y \
texlive-latex-base texlive-fonts-recommended libcurl4-openssl-dev \
libglpk40
sudo apt-get install -y texlive-latex-base texlive-fonts-recommended
- name: Set up R dependencies (Windows)
if: runner.os == 'Windows'
uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: |
RcppCore/Rcpp
ms609/TreeTools
ms609/TreeDistData
needs: |
check
Expand All @@ -96,9 +96,10 @@ jobs:
uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: |
ms609/TreeDistData
RcppCore/Rcpp
phangorn=?ignore-before-r=4.1.0
ms609/TreeTools
ms609/TreeDistData
phangorn=?ignore-before-r=4.4.0
ggplot2=?ignore-before-r=4.4.0
hypervolume=?ignore-before-r=4.4.0
kdensity=?ignore-before-r=4.4.0
Expand Down

0 comments on commit 56e587d

Please sign in to comment.