Skip to content

Commit 31aea89

Browse files
jsdearboclaude
andcommitted
Explicitly set RSPM noble URL for R binary packages
use-public-rspm: true wasn't configuring the correct URL for the ubuntu-24.04 runner. Explicitly set packagemanager.posit.co with the noble platform path so all packages install as pre-built binaries instead of compiling from source. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent ba4b54e commit 31aea89

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,15 @@ jobs:
3333

3434
- name: Install R packages
3535
run: |
36-
Rscript -e "install.packages(c('shinylive', 'shiny', 'plotly', 'dplyr', 'stringr'), repos = 'https://cloud.r-project.org')"
37-
Rscript -e "stopifnot(requireNamespace('shinylive', quietly = TRUE)); cat('shinylive', as.character(packageVersion('shinylive')), 'ready\n')"
36+
Rscript -e "
37+
options(repos = c(
38+
RSPM = 'https://packagemanager.posit.co/cran/__linux__/noble/latest',
39+
CRAN = 'https://cloud.r-project.org'
40+
))
41+
install.packages(c('shinylive', 'shiny', 'plotly', 'dplyr', 'stringr'), dependencies = TRUE)
42+
stopifnot(requireNamespace('shinylive', quietly = TRUE))
43+
cat('shinylive', as.character(packageVersion('shinylive')), 'ready\n')
44+
"
3845
3946
- name: Export Shiny app with shinylive
4047
run: |

0 commit comments

Comments
 (0)