Skip to content

Commit

Permalink
GHA rhub workflow: run options(repos) in R shell to fix Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
florisvdh committed Sep 17, 2024
1 parent 26f22e7 commit ecba598
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rhub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ jobs:
- name: Add additional r-universe repository
run: |
# Add additional r-universe repository
echo 'options(repos = c(getOption("repos"), "https://geocompr.r-universe.dev"))' >> ~/.Rprofile
shell: bash
cat('\noptions(repos = c(getOption("repos"), "https://geocompr.r-universe.dev"))\n', file = "~/.Rprofile", append = TRUE)
shell: Rscript {0}
- uses: r-hub/actions/platform-info@v1
with:
token: ${{ secrets.RHUB_TOKEN }}
Expand Down

0 comments on commit ecba598

Please sign in to comment.