Skip to content

Commit c464122

Browse files
authored
Removes install_dependencies from revdepcheck action (#289)
# Pull Request Removes the unnecessary step that pre-installs packages from the development branch. Keeping this section would pre-install the `Remotes` section for the CRAN checks, which may make it impossible to run when: - development versions of dependencies no longer have API ### How to reproduce: Current `teal` has this problem as development `teal.reporter` has removed some internal API that was still being used in CRAN #### 1 This run suffers from this case when setting up the CRAN version: [link](https://github.com/insightsengineering/teal/actions/runs/18902061636/job/53951384382) <img width="710" height="209" alt="image" src="https://github.com/user-attachments/assets/b276df74-2935-4f8f-b0aa-7761564afbb7" /> #### 1.1 Same run conditions with extra debug that says that API is missing: [link](https://github.com/insightsengineering/teal/actions/runs/18901249737/job/53955439826) <img width="869" height="572" alt="image" src="https://github.com/user-attachments/assets/80420406-7186-43d6-9682-0b28ca090e3a" /> #### 2. Success with this PR: [link](https://github.com/insightsengineering/teal/actions/runs/18904040693/job/53957871963) <img width="733" height="189" alt="image" src="https://github.com/user-attachments/assets/236e3288-32ff-4de3-91d3-1326159a1fa1" /> #### 3. Success in `teal.reporter` Reverse case, nothing changes here https://github.com/insightsengineering/teal.reporter/actions/runs/18904944232/job/53960828526
1 parent e5a0517 commit c464122

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

.github/workflows/revdepcheck.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,6 @@ jobs:
9090
echo "gchat_webhook=${{ secrets.GCHAT_WEBHOOK }}" >> $GITHUB_ENV
9191
shell: bash
9292

93-
- name: Install dependencies
94-
uses: insightsengineering/setup-r-dependencies@v1
95-
env:
96-
GITHUB_PAT: ${{ steps.github-token.outputs.token }}
97-
with:
98-
lookup-refs: ${{ inputs.lookup-refs }}
99-
skip-desc-branch: true
100-
10193
- name: revdepcheck 🔄
10294
id: revdepcheck
10395
uses: insightsengineering/r-revdepcheck-action@main

0 commit comments

Comments
 (0)