Skip to content

Commit

Permalink
switched away from pak
Browse files Browse the repository at this point in the history
  • Loading branch information
Henrik Sparre Spiegelhauer (HSPU) committed Apr 16, 2024
1 parent 0d61205 commit 968176a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/Check-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
workflow_dispatch:
workflow_call:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

name: Check Package 📦

jobs:
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/R-CMD-check-versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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")) |>
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/Release-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
workflow_dispatch:
workflow_call:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

name: Release Package 🚀

jobs:
Expand Down

0 comments on commit 968176a

Please sign in to comment.