Skip to content

Commit c4edb5f

Browse files
author
jsdearbo
committed
Install app packages before deploy so rsconnect can version them in manifest
1 parent 3fbcae1 commit c4edb5f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ jobs:
3131
run: |
3232
Rscript -e "
3333
options(repos = c(CRAN = 'https://cloud.r-project.org'))
34-
install.packages(c('renv', 'rsconnect'), repos = 'https://cloud.r-project.org')
34+
install.packages(c('renv', 'rsconnect', 'shiny', 'plotly', 'dplyr', 'stringr'),
35+
repos = 'https://cloud.r-project.org', Ncpus = 2)
3536
rsconnect::setAccountInfo(
3637
name = Sys.getenv('SHINYAPPS_NAME'),
3738
token = Sys.getenv('SHINYAPPS_TOKEN'),

0 commit comments

Comments
 (0)