Skip to content

Commit

Permalink
update build.yam
Browse files Browse the repository at this point in the history
  • Loading branch information
dsheng1026 committed Sep 27, 2024
1 parent 9d8bc30 commit 0e01050
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 31 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: build

on:
push:
branches:
- paper

jobs:
R-CMD:
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }})

strategy:
fail-fast: false
matrix:
config:
- {os: macos-latest, r: '4.4.0'}

env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
RSPM: ${{ matrix.config.rspm }}
GITHUB_PAT: ${{ secrets.PLUTUS_ACTION}}

steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-r@v2-branch
with:
r-version: ${{ matrix.r }}
- uses: r-lib/actions/setup-pandoc@v2-branch
- uses: r-lib/actions/setup-tinytex@v2-branch

- name: Install dependencies
run: |
install.packages(c("remotes", "rcmdcheck"), repos = "https://cloud.r-project.org")
remotes::install_deps(dependencies = TRUE)
shell: Rscript {0}

- name: Check
run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error")
shell: Rscript {0}
31 changes: 0 additions & 31 deletions .github/workflows/build_windows.yaml

This file was deleted.

0 comments on commit 0e01050

Please sign in to comment.