From 1b0f3a070605b6f1aee256a57787b308624ce375 Mon Sep 17 00:00:00 2001 From: Kamil Zyla Date: Tue, 5 Dec 2023 15:57:02 +0100 Subject: [PATCH] fix: Work around issues with renv installation --- .github/workflows/app-push-test.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/app-push-test.yml b/.github/workflows/app-push-test.yml index 02abb922..dce9f2c9 100644 --- a/.github/workflows/app-push-test.yml +++ b/.github/workflows/app-push-test.yml @@ -24,6 +24,14 @@ jobs: with: packages: Appsilon/rhino@${{ github.sha }} + # The previous step installs `renv` using `pak`, + # but it subsequentially fails in the pushed app and breaks the test + # (see https://github.com/rstudio/renv/issues/1772). + # This step is is a workaround and can be removed once the issue is resolved. + - name: Install renv + shell: Rscript {0} + run: install.packages("renv") + - name: Checkout repository uses: actions/checkout@v3 with: