Skip to content

R-CMD-check (rhub)

R-CMD-check (rhub) #75

Workflow file for this run

name: R-CMD-check (rhub)
on:
workflow_run:
workflows: [ "Source Code" ]
types:
- completed
workflow_dispatch:
jobs:
check1:
name: atlas
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.PAT }}
container:
image: ghcr.io/r-hub/containers/atlas:latest
steps:
-
name: Checkout src repo
uses: actions/checkout@v4
with:
ref: 'src'
-
name: Install dependencies
run: |
R -q -e 'Sys.setenv(DOWNLOAD_STATIC_LIBV8 = 1); install.packages("V8")'
R -q -e 'if (!require("pak")) install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'
R -q -e 'pak::pkg_install(c("deps::.", "any::rcmdcheck"), dependencies = TRUE)'
-
name: R-CMD-check
uses: r-lib/actions/check-r-package@v2
with:
error-on: '"error"'
check2:
name: centos7
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.PAT }}
container:
image: ghcr.io/r-hub/containers/centos7:latest
steps:
-
name: Checkout src repo
uses: actions/checkout@v4
with:
ref: 'src'
-
name: Install dependencies
run: |
R -q -e 'Sys.setenv(DOWNLOAD_STATIC_LIBV8 = 1); install.packages("V8")'
R -q -e 'if (!require("pak")) install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'
R -q -e 'pak::pkg_install(c("deps::.", "any::rcmdcheck"), dependencies = TRUE)'
-
name: R-CMD-check
uses: r-lib/actions/check-r-package@v2
with:
error-on: '"error"'
check3:
name: clang-asan
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.PAT }}
container:
image: ghcr.io/r-hub/containers/clang-asan:latest
steps:
-
name: Checkout src repo
uses: actions/checkout@v4
with:
ref: 'src'
-
name: Install dependencies
run: |
R -q -e 'Sys.setenv(DOWNLOAD_STATIC_LIBV8 = 1); install.packages("V8")'
R -q -e 'if (!require("pak")) install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'
R -q -e 'pak::pkg_install(c("deps::.", "any::rcmdcheck"), dependencies = TRUE)'
-
name: R-CMD-check
uses: r-lib/actions/check-r-package@v2
with:
error-on: '"error"'
check4:
name: clang16
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.PAT }}
container:
image: ghcr.io/r-hub/containers/clang16:latest
steps:
-
name: Checkout src repo
uses: actions/checkout@v4
with:
ref: 'src'
-
name: Install dependencies
run: |
R -q -e 'Sys.setenv(DOWNLOAD_STATIC_LIBV8 = 1); install.packages("V8")'
R -q -e 'if (!require("pak")) install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'
R -q -e 'pak::pkg_install(c("deps::.", "any::rcmdcheck"), dependencies = TRUE)'
-
name: R-CMD-check
uses: r-lib/actions/check-r-package@v2
with:
error-on: '"error"'
check5:
name: clang17
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.PAT }}
container:
image: ghcr.io/r-hub/containers/clang17:latest
steps:
-
name: Checkout src repo
uses: actions/checkout@v4
with:
ref: 'src'
-
name: Install dependencies
run: |
R -q -e 'Sys.setenv(DOWNLOAD_STATIC_LIBV8 = 1); install.packages("V8")'
R -q -e 'if (!require("pak")) install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'
R -q -e 'pak::pkg_install(c("deps::.", "any::rcmdcheck"), dependencies = TRUE)'
-
name: R-CMD-check
uses: r-lib/actions/check-r-package@v2
with:
error-on: '"error"'
check6:
name: gcc13
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.PAT }}
container:
image: ghcr.io/r-hub/containers/gcc13:latest
steps:
-
name: Checkout src repo
uses: actions/checkout@v4
with:
ref: 'src'
-
name: Install dependencies
run: |
R -q -e 'Sys.setenv(DOWNLOAD_STATIC_LIBV8 = 1); install.packages("V8")'
R -q -e 'if (!require("pak")) install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'
R -q -e 'pak::pkg_install(c("deps::.", "any::rcmdcheck"), dependencies = TRUE)'
-
name: R-CMD-check
uses: r-lib/actions/check-r-package@v2
with:
error-on: '"error"'
check7:
name: nold
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.PAT }}
container:
image: ghcr.io/r-hub/containers/nold:latest
steps:
-
name: Checkout src repo
uses: actions/checkout@v4
with:
ref: 'src'
-
name: Install dependencies
run: |
R -q -e 'Sys.setenv(DOWNLOAD_STATIC_LIBV8 = 1); install.packages("V8")'
R -q -e 'if (!require("pak")) install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'
R -q -e 'pak::pkg_install(c("deps::.", "any::rcmdcheck"), dependencies = TRUE)'
-
name: R-CMD-check
uses: r-lib/actions/check-r-package@v2
with:
error-on: '"error"'
check8:
name: ubuntu-clang
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.PAT }}
container:
image: ghcr.io/r-hub/containers/ubuntu-clang:latest
steps:
-
name: Checkout src repo
uses: actions/checkout@v4
with:
ref: 'src'
-
name: Install dependencies
run: |
R -q -e 'Sys.setenv(DOWNLOAD_STATIC_LIBV8 = 1); install.packages("V8")'
R -q -e 'if (!require("pak")) install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'
R -q -e 'pak::pkg_install(c("deps::.", "any::rcmdcheck"), dependencies = TRUE)'
-
name: R-CMD-check
uses: r-lib/actions/check-r-package@v2
with:
error-on: '"error"'
check9:
name: ubuntu-gcc12
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.PAT }}
container:
image: ghcr.io/r-hub/containers/ubuntu-gcc12:latest
steps:
-
name: Checkout src repo
uses: actions/checkout@v4
with:
ref: 'src'
-
name: Install dependencies
run: |
R -q -e 'Sys.setenv(DOWNLOAD_STATIC_LIBV8 = 1); install.packages("V8")'
R -q -e 'if (!require("pak")) install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'
R -q -e 'pak::pkg_install(c("deps::.", "any::rcmdcheck"), dependencies = TRUE)'
-
name: R-CMD-check
uses: r-lib/actions/check-r-package@v2
with:
error-on: '"error"'
check10:
name: ubuntu-next
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.PAT }}
container:
image: ghcr.io/r-hub/containers/ubuntu-next:latest
steps:
-
name: Checkout src repo
uses: actions/checkout@v4
with:
ref: 'src'
-
name: Install dependencies
run: |
R -q -e 'Sys.setenv(DOWNLOAD_STATIC_LIBV8 = 1); install.packages("V8")'
R -q -e 'if (!require("pak")) install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'
R -q -e 'pak::pkg_install(c("deps::.", "any::rcmdcheck"), dependencies = TRUE)'
-
name: R-CMD-check
uses: r-lib/actions/check-r-package@v2
with:
error-on: '"error"'
check11:
name: ubuntu-release
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.PAT }}
container:
image: ghcr.io/r-hub/containers/ubuntu-release:latest
steps:
-
name: Checkout src repo
uses: actions/checkout@v4
with:
ref: 'src'
-
name: Install dependencies
run: |
R -q -e 'Sys.setenv(DOWNLOAD_STATIC_LIBV8 = 1); install.packages("V8")'
R -q -e 'if (!require("pak")) install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'
R -q -e 'pak::pkg_install(c("deps::.", "any::rcmdcheck"), dependencies = TRUE)'
-
name: R-CMD-check
uses: r-lib/actions/check-r-package@v2
with:
error-on: '"error"'
check12:
name: valgrind
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.PAT }}
container:
image: ghcr.io/r-hub/containers/valgrind:latest
steps:
-
name: Checkout src repo
uses: actions/checkout@v4
with:
ref: 'src'
-
name: Install dependencies
run: |
R -q -e 'Sys.setenv(DOWNLOAD_STATIC_LIBV8 = 1); install.packages("V8")'
R -q -e 'if (!require("pak")) install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'
R -q -e 'pak::pkg_install(c("deps::.", "any::rcmdcheck"), dependencies = TRUE)'
-
name: R-CMD-check
uses: r-lib/actions/check-r-package@v2
with:
error-on: '"error"'
check13:
name: intel
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.PAT }}
container:
image: ghcr.io/r-hub/containers/intel:latest
steps:
-
name: Checkout src repo
uses: actions/checkout@v4
with:
ref: 'src'
-
name: Install dependencies
run: |
R -q -e 'Sys.setenv(DOWNLOAD_STATIC_LIBV8 = 1); install.packages("V8")'
R -q -e 'if (!require("pak")) install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'
R -q -e 'pak::pkg_install(c("deps::.", "any::rcmdcheck"), dependencies = TRUE)'
-
name: R-CMD-check
uses: r-lib/actions/check-r-package@v2
with:
error-on: '"error"'
check14:
name: mkl
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.PAT }}
container:
image: ghcr.io/r-hub/containers/mkl:latest
steps:
-
name: Checkout src repo
uses: actions/checkout@v4
with:
ref: 'src'
-
name: Install dependencies
run: |
R -q -e 'Sys.setenv(DOWNLOAD_STATIC_LIBV8 = 1); install.packages("V8")'
R -q -e 'if (!require("pak")) install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/stable/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'
R -q -e 'pak::pkg_install(c("deps::.", "any::rcmdcheck"), dependencies = TRUE)'
-
name: R-CMD-check
uses: r-lib/actions/check-r-package@v2
with:
error-on: '"error"'
# donttest
# nosuggests