From 02e7301cf5fd99694537c947c06876613e920434 Mon Sep 17 00:00:00 2001 From: Santiago Hermo <45404755+santiagohermo@users.noreply.github.com> Date: Thu, 5 Jun 2025 17:09:22 +0200 Subject: [PATCH 1/7] Create r.yml --- .github/workflows/r.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/r.yml diff --git a/.github/workflows/r.yml b/.github/workflows/r.yml new file mode 100644 index 0000000..4fb4171 --- /dev/null +++ b/.github/workflows/r.yml @@ -0,0 +1,40 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. +# +# See https://github.com/r-lib/actions/tree/master/examples#readme for +# additional example workflows available for the R community. + +name: R + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +permissions: + contents: read + +jobs: + build: + runs-on: macos-latest + strategy: + matrix: + r-version: ['3.6.3', '4.1.1'] + + steps: + - uses: actions/checkout@v4 + - name: Set up R ${{ matrix.r-version }} + uses: r-lib/actions/setup-r@f57f1301a053485946083d7a45022b278929a78a + with: + r-version: ${{ matrix.r-version }} + - name: Install dependencies + run: | + install.packages(c("remotes", "rcmdcheck")) + remotes::install_deps(dependencies = TRUE) + shell: Rscript {0} + - name: Check + run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error") + shell: Rscript {0} From e96d741a6e1a27a6fa1eae486f6329a015099e1f Mon Sep 17 00:00:00 2001 From: Santiago Hermo <45404755+santiagohermo@users.noreply.github.com> Date: Thu, 5 Jun 2025 17:11:52 +0200 Subject: [PATCH 2/7] Update r.yml --- .github/workflows/r.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/r.yml b/.github/workflows/r.yml index 4fb4171..d626ee7 100644 --- a/.github/workflows/r.yml +++ b/.github/workflows/r.yml @@ -19,22 +19,33 @@ permissions: jobs: build: - runs-on: macos-latest + # Run on both macos-latest and windows-latest + runs-on: ${{ matrix.os }} strategy: + # Define a matrix of operating systems and R versions matrix: + os: [macos-latest, windows-latest] r-version: ['3.6.3', '4.1.1'] + # Optionally, you can add include/exclude configurations here + # For example, if a specific R version isn't available on an OS + # include: + # - os: windows-latest + # r-version: 'release' # to use the latest R release on Windows steps: - uses: actions/checkout@v4 - - name: Set up R ${{ matrix.r-version }} + + - name: Set up R ${{ matrix.r-version }} on ${{ matrix.os }} uses: r-lib/actions/setup-r@f57f1301a053485946083d7a45022b278929a78a with: r-version: ${{ matrix.r-version }} + - name: Install dependencies run: | install.packages(c("remotes", "rcmdcheck")) remotes::install_deps(dependencies = TRUE) shell: Rscript {0} + - name: Check run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error") shell: Rscript {0} From 6590cb7e249c754647cc1cb24c58cbd98c281ce6 Mon Sep 17 00:00:00 2001 From: Santiago Hermo <45404755+santiagohermo@users.noreply.github.com> Date: Thu, 5 Jun 2025 17:15:40 +0200 Subject: [PATCH 3/7] Update r.yml --- .github/workflows/r.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/r.yml b/.github/workflows/r.yml index d626ee7..81b6a06 100644 --- a/.github/workflows/r.yml +++ b/.github/workflows/r.yml @@ -25,7 +25,7 @@ jobs: # Define a matrix of operating systems and R versions matrix: os: [macos-latest, windows-latest] - r-version: ['3.6.3', '4.1.1'] + r-version: ['4.4.3', '4.1.1'] # Optionally, you can add include/exclude configurations here # For example, if a specific R version isn't available on an OS # include: From e5ff770f004ba4b5162f7fd241145f66a2d724d8 Mon Sep 17 00:00:00 2001 From: Santiago Hermo <45404755+santiagohermo@users.noreply.github.com> Date: Thu, 5 Jun 2025 17:19:31 +0200 Subject: [PATCH 4/7] Update r.yml --- .github/workflows/r.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/r.yml b/.github/workflows/r.yml index 81b6a06..2975584 100644 --- a/.github/workflows/r.yml +++ b/.github/workflows/r.yml @@ -25,7 +25,7 @@ jobs: # Define a matrix of operating systems and R versions matrix: os: [macos-latest, windows-latest] - r-version: ['4.4.3', '4.1.1'] + r-version: ['4.4.1', '4.1.1'] # Optionally, you can add include/exclude configurations here # For example, if a specific R version isn't available on an OS # include: From cdf0a2f49581a54acdf41a793bf442c30712a09b Mon Sep 17 00:00:00 2001 From: Santiago Hermo <45404755+santiagohermo@users.noreply.github.com> Date: Thu, 5 Jun 2025 17:24:26 +0200 Subject: [PATCH 5/7] Update r.yml --- .github/workflows/r.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/r.yml b/.github/workflows/r.yml index 2975584..1b02d01 100644 --- a/.github/workflows/r.yml +++ b/.github/workflows/r.yml @@ -25,7 +25,7 @@ jobs: # Define a matrix of operating systems and R versions matrix: os: [macos-latest, windows-latest] - r-version: ['4.4.1', '4.1.1'] + r-version: ['4.1.1'] # Optionally, you can add include/exclude configurations here # For example, if a specific R version isn't available on an OS # include: From 3a469c12933756a9b10b4b3b3596b0e62bfb9f8d Mon Sep 17 00:00:00 2001 From: Santiago Hermo Date: Thu, 5 Jun 2025 18:18:21 +0200 Subject: [PATCH 6/7] fix? --- .github/workflows/check-standard.yaml | 4 +-- .github/workflows/r.yml | 51 --------------------------- 2 files changed, 2 insertions(+), 53 deletions(-) delete mode 100644 .github/workflows/r.yml diff --git a/.github/workflows/check-standard.yaml b/.github/workflows/check-standard.yaml index 599d78d..dbea9bb 100644 --- a/.github/workflows/check-standard.yaml +++ b/.github/workflows/check-standard.yaml @@ -2,9 +2,9 @@ # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help on: push: - branches: [main] + branches: [master] pull_request: - branches: [main] + branches: [master] name: R-CMD-check diff --git a/.github/workflows/r.yml b/.github/workflows/r.yml deleted file mode 100644 index 1b02d01..0000000 --- a/.github/workflows/r.yml +++ /dev/null @@ -1,51 +0,0 @@ -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. -# -# See https://github.com/r-lib/actions/tree/master/examples#readme for -# additional example workflows available for the R community. - -name: R - -on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] - -permissions: - contents: read - -jobs: - build: - # Run on both macos-latest and windows-latest - runs-on: ${{ matrix.os }} - strategy: - # Define a matrix of operating systems and R versions - matrix: - os: [macos-latest, windows-latest] - r-version: ['4.1.1'] - # Optionally, you can add include/exclude configurations here - # For example, if a specific R version isn't available on an OS - # include: - # - os: windows-latest - # r-version: 'release' # to use the latest R release on Windows - - steps: - - uses: actions/checkout@v4 - - - name: Set up R ${{ matrix.r-version }} on ${{ matrix.os }} - uses: r-lib/actions/setup-r@f57f1301a053485946083d7a45022b278929a78a - with: - r-version: ${{ matrix.r-version }} - - - name: Install dependencies - run: | - install.packages(c("remotes", "rcmdcheck")) - remotes::install_deps(dependencies = TRUE) - shell: Rscript {0} - - - name: Check - run: rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error") - shell: Rscript {0} From 2ef0d59b10218e4d60b1390972101b50c1165e18 Mon Sep 17 00:00:00 2001 From: Santiago Hermo Date: Thu, 5 Jun 2025 18:24:56 +0200 Subject: [PATCH 7/7] ubuntu is out --- .github/workflows/check-standard.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-standard.yaml b/.github/workflows/check-standard.yaml index dbea9bb..b116791 100644 --- a/.github/workflows/check-standard.yaml +++ b/.github/workflows/check-standard.yaml @@ -20,9 +20,9 @@ jobs: config: - {os: macos-latest, r: 'release'} - {os: windows-latest, r: 'release'} - - {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'} - - {os: ubuntu-latest, r: 'release'} - - {os: ubuntu-latest, r: 'oldrel-1'} + #- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'} + #- {os: ubuntu-latest, r: 'release'} + #- {os: ubuntu-latest, r: 'oldrel-1'} env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}