Skip to content

Commit 7fe88c0

Browse files
committed
Install shinycoreci R package from RSPM; Let shinycoreci handle shinyverse CRAN repo as extra lib is being used
1 parent d19b0c8 commit 7fe88c0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/internal/install-shinyverse/action.yaml

+3-4
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,13 @@ runs:
8383
# We need to have the first repo to be `shinyverse` repo, then RSPM, then cran-url
8484
# Recreate logic from https://github.com/r-lib/actions/blob/413b6a4ba22b7bcaa726df1c8f88dcd574fbc8c4/setup-r/src/installer.ts#L598-L670
8585
# * Do not set RSPM input (use-public-rspm: false) to make `CRAN` repo the first repo
86-
# * Set CRAN env so that `shinyuniverse` repo is first
87-
# * Append `RSPM` repo in `extra-repositories`; Add backup of `cran-url` in `extra-repositories`
86+
# * Set CRAN env so that `packagemanger` repo is first
87+
# * Add backup of `cran-url` in `extra-repositories`
8888
# * Do not set RSPM envvar pointing to `packagemanager-cran-url` as it will make `RSPM` repo the first repo
8989
- name: Install R and shinycoreci
9090
uses: rstudio/shiny-workflows/setup-r-package@v1
9191
env:
92-
CRAN: ${{ inputs.shinyverse-cran-url }}
92+
CRAN: ${{ inputs.packagemanager-cran-url }}
9393
with:
9494
r-version: ${{ inputs.r-version }}
9595
cache-version: ${{ inputs.cache-version }}
@@ -100,7 +100,6 @@ runs:
100100
${{ inputs.extra-packages }}
101101
use-public-rspm: false
102102
extra-repositories: |
103-
${{ inputs.packagemanager-cran-url }}
104103
${{ inputs.cran-url }}
105104
106105
- name: Show repos

0 commit comments

Comments
 (0)