Skip to content

Commit

Permalink
add Joe's test file
Browse files Browse the repository at this point in the history
  • Loading branch information
shikokuchuo committed Nov 27, 2024
1 parent de43f60 commit d4367ef
Showing 1 changed file with 29 additions and 6 deletions.
35 changes: 29 additions & 6 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,41 @@
# For most R packages it is better to use https://github.com/r-lib/actions
on:
push:
branches: [main, rc-**]
pull_request:
branches: [main]
schedule:
- cron: '0 5 * * 1' # every monday

name: Package checks

jobs:
website:
uses: rstudio/shiny-workflows/.github/workflows/website.yaml@v1
routine:
uses: rstudio/shiny-workflows/.github/workflows/routine.yaml@v1
R-CMD-check:
uses: rstudio/shiny-workflows/.github/workflows/R-CMD-check.yaml@v1
cpp-version-mismatch:
name: cpp-version-mismatch
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout GitHub repo
uses: rstudio/shiny-workflows/.github/internal/checkout@v1

- name: Install R, system dependencies, and package dependencies
uses: rstudio/shiny-workflows/setup-r-package@v1
with:
needs: check
extra-packages: |
any::remotes
- name: Compile promises against the newest later
run: |
print(packageVersion("later"))
remotes::install_github("rstudio/promises", force = TRUE)
shell: Rscript {0}
- name: Downgrade later
run: |
remotes::install_version('later', '1.3.1')
shell: Rscript {0}
- name: See if dependent package (built against newer later ver) can still load
run: |
print(packageVersion("later"))
library(promises)
shell: Rscript {0}

0 comments on commit d4367ef

Please sign in to comment.