macOS x86_64, R 4.6 #267
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: macOS x86_64, R 4.6 | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '23 17 * * *' | |
| jobs: | |
| update: | |
| runs-on: macos-13 | |
| env: | |
| HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: true | |
| MACOSX_DEPLOYMENT_TARGET: 11.0 | |
| steps: | |
| - uses: r-lib/actions/setup-r@v2 | |
| with: | |
| r-version: 'devel' | |
| - name: Check Distro and R version | |
| run: | | |
| # | |
| if (Sys.info()[["sysname"]] != "Darwin") stop("Not macOS") | |
| if (getRversion() < "4.6.0" || getRversion() >= "4.7.0") { | |
| stop("Not R 4.6.x") | |
| } | |
| if (Sys.info()[["machine"]] != "x86_64") stop("Not x86_64") | |
| shell: Rscript {0} | |
| - uses: r-hub/actions/setup-r-sysreqs@v1 | |
| with: | |
| type: full | |
| - uses: actions/checkout@v4 | |
| - uses: r-hub/repos/actions/update-repo@main | |
| with: | |
| directory: macos-x86_64/4.6 | |
| token: ${{ secrets.CRANATGH_GITHUB_TOKEN }} |