From 8041fd01ee086b68a51bb33845cd28c37be69ea5 Mon Sep 17 00:00:00 2001 From: Marcin <133694481+m7pr@users.noreply.github.com> Date: Fri, 21 Feb 2025 11:56:37 +0100 Subject: [PATCH] Remove lookup-refs (#204) Part of https://github.com/insightsengineering/coredev-tasks/issues/609 From now on, we will provide development dependencies in ``` Remotes: repo/project@branch ``` format, so it's explicitly visible in the DESCRIPTION file and can be handled by `pak::install`, `renv::install` and `remotes::install`. With development dependencies specified in CJ Pipelines configuration, this connection was hidden, and it was hard to install the package from the main branch (or any other branch) locally from user's machine. --- .github/workflows/check.yaml | 16 ---------------- .github/workflows/scheduled.yaml | 5 ----- 2 files changed, 21 deletions(-) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index b5385a26..43c44994 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -26,10 +26,6 @@ jobs: REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} with: deps-installation-method: setup-r-dependencies - lookup-refs: | - insightsengineering/tern - insightsengineering/rtables - insightsengineering/formatters additional-env-vars: | _R_CHECK_CRAN_INCOMING_REMOTE_=false additional-r-cmd-check-params: --as-cran @@ -52,10 +48,6 @@ jobs: REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} with: deps-installation-method: setup-r-dependencies - lookup-refs: | - insightsengineering/tern - insightsengineering/rtables - insightsengineering/formatters additional-env-vars: | NOT_CRAN=true enforce-note-blocklist: true @@ -77,10 +69,6 @@ jobs: REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} with: deps-installation-method: setup-r-dependencies - lookup-refs: | - insightsengineering/tern - insightsengineering/rtables - insightsengineering/formatters additional-env-vars: | NOT_CRAN=true linter: @@ -94,10 +82,6 @@ jobs: REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} with: deps-installation-method: setup-r-dependencies - lookup-refs: | - insightsengineering/tern - insightsengineering/rtables - insightsengineering/formatters auto-update: true gitleaks: name: gitleaks 💧 diff --git a/.github/workflows/scheduled.yaml b/.github/workflows/scheduled.yaml index 50c458fa..32599115 100644 --- a/.github/workflows/scheduled.yaml +++ b/.github/workflows/scheduled.yaml @@ -64,8 +64,3 @@ jobs: ) name: R-hub 🌐 uses: insightsengineering/r.pkg.template/.github/workflows/rhub.yaml@main - with: - lookup-refs: | - insightsengineering/tern - insightsengineering/formatters - insightsengineering/rtables