From 294812cbd8e877c449d62393db6e78506effe527 Mon Sep 17 00:00:00 2001 From: Nicole Hill Date: Mon, 18 Nov 2024 15:09:23 -0800 Subject: [PATCH] Install dependencies for R-CMD-check action manually --- .github/workflows/R-CMD-check.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index d46a617..bd3568c 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -41,10 +41,11 @@ jobs: http-user-agent: ${{ matrix.config.http-user-agent }} use-public-rspm: true - - uses: r-lib/actions/setup-r-dependencies@v2 - with: - extra-packages: any::rcmdcheck - needs: check + - name: Install dependencies + run: | + install.packages(c("remotes")) + remotes::install_deps(dependencies = TRUE) + shell: Rscript {0} - uses: r-lib/actions/check-r-package@v2 with: