From e40f5302c6a71cb918bed408e128b42d4c469346 Mon Sep 17 00:00:00 2001 From: Adriaan Dokter Date: Thu, 9 Jan 2025 13:48:34 -0500 Subject: [PATCH] update check action --- .github/workflows/R-CMD-check.yaml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index e48bbe1e..f45d90cf 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -52,10 +52,15 @@ jobs: - name: Install Linux system dependencies if: runner.os == 'Linux' run: | - pak::local_system_requirements(execute = TRUE) - pak::pkg_system_requirements("rcmdcheck", execute = TRUE) - pak::pkg_system_requirements("proj4", execute = TRUE) # Using same proj for now... - pak::pkg_system_requirements("hdf5r", execute = TRUE) # Using same hdf5 for now... + pak::pkg_sysreqs("local::.", dependencies = TRUE)$install_script + pak::pkg_sysreqs("rcmdcheck")$install_scripts + pak::pkg_sysreqs("proj4")$install_scripts + pak::pkg_sysreqs("hdf5r")$install_scripts + #pak::local_system_requirements(execute = TRUE) + #pak::pkg_system_requirements("rcmdcheck", execute = TRUE) + #pak::pkg_system_requirements("proj4", execute = TRUE) # Using same proj for now... + #pak::pkg_system_requirements("hdf5r", execute = TRUE) # Using same hdf5 for now... + shell: Rscript {0} - name: Install dependencies run: |