Skip to content

Commit

Permalink
WIP fixup R
Browse files Browse the repository at this point in the history
  • Loading branch information
crisbour committed Nov 2, 2024
1 parent 6971214 commit 3b073c7
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,21 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
with:
r-version: '4.4.1'

- name: Set R library path
run: echo "R_LIBS_USER=$HOME/R/library" >> $GITHUB_ENV

- name: Install R dependencies
run: |
mkdir -p $R_LIBS_USER
R -e 'install.packages(c("rmarkdown", "knitr"))'
# Quarto actions find out more here: https://github.com/quarto-dev/quarto-actions?tab=readme-ov-file
- uses: quarto-dev/quarto-actions/setup@v2
with:
version: pre-release
- name: Install R dependencies
run: |
R -e 'install.packages(c("rmarkdown", "knitr"))'
- name: Render and Publish
uses: quarto-dev/quarto-actions/publish@v2
with:
Expand Down

0 comments on commit 3b073c7

Please sign in to comment.