From 10861c839a9ccfa84aeabac6e8461ad7031b18b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Mor=C3=ADs=20Fern=C3=A1ndez?= <6012476+zsigmas@users.noreply.github.com> Date: Thu, 30 May 2024 18:09:25 +0200 Subject: [PATCH] install suggested dependencies before dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See for example: ❯ checking package dependencies ... ERROR Package suggested but not available: ‘dv.loader’ The suggested packages are required for a complete check. Checking can be attempted without them by setting the environment variable _R_CHECK_FORCE_SUGGESTS_ to a false value. --- .github/actions/dependencies/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/dependencies/action.yml b/.github/actions/dependencies/action.yml index ae8c140..66b1256 100644 --- a/.github/actions/dependencies/action.yml +++ b/.github/actions/dependencies/action.yml @@ -6,7 +6,7 @@ runs: steps: - name: Install package dependencies 📄 run: | - pak::local_install_deps(".", upgrade=FALSE, ask=FALSE) + pak::local_install_deps(".", upgrade=FALSE, ask=FALSE, dependencies = TRUE) shell: Rscript {0}