Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
walkowif committed Jun 27, 2024
1 parent ffeec8e commit 665baf9
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions .github/workflows/rhub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,10 @@ jobs:
with:
token: ${{ secrets.RHUB_TOKEN }}
job-config: ${{ matrix.config.job-config }}
- name: Prepare DESCRIPTION file
run: |
wget https://gist.githubusercontent.com/pawelru/2efd7db65436a558ac050cefe23e3306/raw/5672eb997585893197b1ca659ca46fa89daeea1f/new_staged_deps.R
git config --global --add safe.directory $(pwd)
# Packages required by the new_staged_deps.R script:
R -e 'install.packages(c("cli", "desc", "pkgdepends"))'
Rscript new_staged_deps.R
shell: bash

- name: Setup R dependencies
uses: insightsengineering/setup-r-packages@initialize-actions

- uses: r-hub/actions/setup-deps@v1
with:
token: ${{ secrets.RHUB_TOKEN }}
Expand Down Expand Up @@ -84,14 +80,10 @@ jobs:
with:
token: ${{ secrets.RHUB_TOKEN }}
job-config: ${{ matrix.config.job-config }}
- name: Prepare DESCRIPTION file
run: |
wget https://gist.githubusercontent.com/pawelru/2efd7db65436a558ac050cefe23e3306/raw/5672eb997585893197b1ca659ca46fa89daeea1f/new_staged_deps.R
git config --global --add safe.directory $(pwd)
# Packages required by the new_staged_deps.R script:
R -e 'install.packages(c("cli", "desc", "pkgdepends"))'
Rscript new_staged_deps.R
shell: bash

- name: Setup R dependencies
uses: insightsengineering/setup-r-packages@initialize-actions

- uses: r-hub/actions/setup-deps@v1
with:
job-config: ${{ matrix.config.job-config }}
Expand Down

0 comments on commit 665baf9

Please sign in to comment.