From 897e936488a8c19d9e0854800891fb51857766e6 Mon Sep 17 00:00:00 2001 From: Douglas Ezra Morrison Date: Tue, 5 Nov 2024 22:35:09 -0800 Subject: [PATCH] do the install --- .github/workflows/lint-changed-files.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/lint-changed-files.yaml b/.github/workflows/lint-changed-files.yaml index f5a70aae..5fbd6b4a 100644 --- a/.github/workflows/lint-changed-files.yaml +++ b/.github/workflows/lint-changed-files.yaml @@ -29,6 +29,9 @@ jobs: cat('\noptions(lintr.linter_file = ".lintr")\n', file = "~/.Rprofile", append = TRUE) shell: Rscript {0} + - name: Install package + run: R CMD INSTALL . + - name: Extract and lint files changed by this PR run: | files <- gh::gh("GET https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files")