Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmalla authored Oct 3, 2024
1 parent 57ae279 commit 2f2ac48
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,10 @@ jobs:
with:
r-version: '4.2.1' # Specify the version of R

- name: Install remotes to handle GitHub installations
- name: Install renv and restore packages
run: |
Rscript -e 'install.packages("remotes", repos="https://cloud.r-project.org")'
- name: Install required packages
run: |
Rscript -e 'install.packages(c("haven","shinythemes","tidyverse","shiny","shinydashboard","shinyWidgets","lubridate","stringr","readxl","plotly","zoo","gridExtra","cowplot","anytime","data.table","DT","shinyjs","flextable","officer","ggpubr","EpiReport","xlsx","zscorer","Hmisc","survey","questionr","writexl","openxlsx","readr"), repos="https://cloud.r-project.org")'
Rscript -e 'install.packages("renv", repos="https://cloud.r-project.org")'
Rscript -e 'renv::restore()' # Restore packages from renv.lock
- name: Install rsconnect from CRAN with logs
run: |
Expand Down

0 comments on commit 2f2ac48

Please sign in to comment.