From 968176ae4d2ba2461557670b46e7df2ee2022c2e Mon Sep 17 00:00:00 2001 From: "Henrik Sparre Spiegelhauer (HSPU)" Date: Tue, 16 Apr 2024 11:53:11 +0200 Subject: [PATCH] switched away from pak --- .github/workflows/Check-package.yaml | 4 ++++ .github/workflows/R-CMD-check-versions.yaml | 15 +++++++-------- .github/workflows/Release-package.yaml | 4 ++++ 3 files changed, 15 insertions(+), 8 deletions(-) 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: