From f9d05f193d48fbbb5c05f1b193a69622a6d09f82 Mon Sep 17 00:00:00 2001 From: silasprincipe <53846571+silasprincipe@users.noreply.github.com> Date: Wed, 9 Oct 2024 14:16:04 +0200 Subject: [PATCH] Update action workflow --- .github/workflows/render_and_update_readme.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/render_and_update_readme.yml b/.github/workflows/render_and_update_readme.yml index e30bfc0..398d3e6 100644 --- a/.github/workflows/render_and_update_readme.yml +++ b/.github/workflows/render_and_update_readme.yml @@ -16,6 +16,16 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 + + # Set up R environment + - name: Set up R + uses: r-lib/actions/setup-r@v2 + + # Install required R packages (knitr and rmarkdown) + - name: Install R dependencies + run: | + R -e "install.packages('knitr')" + R -e "install.packages('rmarkdown')" # Install necessary dependencies - name: Set up Python