diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 43bc182d..11652b96 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -21,7 +21,7 @@ jobs: R-CMD-check: runs-on: ${{ matrix.config.os }} - timeout-minutes: 30 + timeout-minutes: 60 name: ${{ matrix.config.os }} (${{ matrix.config.r }}) (${{ matrix.config.tf }}) @@ -56,9 +56,7 @@ jobs: extra-packages: any::rcmdcheck needs: check - - name: Install remotes - if: steps.r-package-cache.outputs.cache-hit != 'true' - run: install.packages("remotes") + - name: Install system dependencies if: runner.os == 'Linux' @@ -71,6 +69,10 @@ jobs: sudo $cmd done < <(Rscript -e "writeLines(remotes::system_requirements('$ID-$VERSION_ID'))") + - name: Install remotes + if: steps.r-package-cache.outputs.cache-hit != 'true' + run: install.packages("remotes") + - name: Install package + deps run: remotes::install_local(dependencies = TRUE, force = TRUE)