diff --git a/.github/workflows/Check-package.yaml b/.github/workflows/Check-package.yaml index faa114d..b6771d2 100644 --- a/.github/workflows/Check-package.yaml +++ b/.github/workflows/Check-package.yaml @@ -10,6 +10,10 @@ on: workflow_dispatch: workflow_call: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + name: Check Package 📦 jobs: diff --git a/.github/workflows/R-CMD-check-versions.yaml b/.github/workflows/R-CMD-check-versions.yaml index 272d0e4..7a767cf 100644 --- a/.github/workflows/R-CMD-check-versions.yaml +++ b/.github/workflows/R-CMD-check-versions.yaml @@ -5,11 +5,7 @@ workflow_dispatch: workflow_call: - concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - - permissions: read-all + permissions: read-all name: R-CMD-check-versions @@ -55,10 +51,13 @@ repos = c(CRAN = "https://packagemanager.posit.co/cran/${{ matrix.config.date }}") ) - install.packages("pak") + install.packages("rcmdcheck") + install.packages(".", dependencies=T, upgrade=T, Ncpus = parallel::detectCores()-1) + + #install.packages("pak") - pak::pkg_install("rcmdcheck") - pak::pkg_install(".", dependencies=T, upgrade=T) + # pak::pkg_install("rcmdcheck") + # pak::pkg_install(".", dependencies=T, upgrade=T) # attachment::att_from_description(field = c("Depends", "Imports", "Suggests")) |> diff --git a/.github/workflows/Release-package.yaml b/.github/workflows/Release-package.yaml index fafaf60..b7518b4 100644 --- a/.github/workflows/Release-package.yaml +++ b/.github/workflows/Release-package.yaml @@ -10,6 +10,10 @@ workflow_dispatch: workflow_call: + concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + name: Release Package 🚀 jobs: