From 17df062ec2e5cd4d2f28f62ca961b8308c61f609 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Sun, 24 Nov 2024 18:38:28 +0100 Subject: [PATCH] R >= 4.0.0 --- .../custom/before-install/action.yml | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/.github/workflows/custom/before-install/action.yml b/.github/workflows/custom/before-install/action.yml index d07a8f6b5..fca0f02a2 100644 --- a/.github/workflows/custom/before-install/action.yml +++ b/.github/workflows/custom/before-install/action.yml @@ -3,31 +3,11 @@ name: 'Custom steps to run before R packages are installed' runs: using: "composite" steps: - - name: Define R CMD check error condition - # Rscript not available on Mac - if: runner.os != 'macOS' - run: | - if (getRversion() < "4.0") { - message("Setting RCMDCHECK_ERROR_ON") - cat('RCMDCHECK_ERROR_ON="warning"\n', file = Sys.getenv("GITHUB_ENV"), append = TRUE) - } - shell: Rscript {0} - - name: Define _R_CHECK_PKG_SIZES_THRESHOLD_ run: | echo '_R_CHECK_PKG_SIZES_THRESHOLD_=10' | tee -a $GITHUB_ENV shell: bash - - name: Define _R_CHECK_FORCE_SUGGESTS_ - # Rscript not available on Mac - if: runner.os != 'macOS' - run: | - if (getRversion() < "4.0") { - message("Setting _R_CHECK_FORCE_SUGGESTS_") - cat('_R_CHECK_FORCE_SUGGESTS_=false\n', file = Sys.getenv("GITHUB_ENV"), append = TRUE) - } - shell: Rscript {0} - - name: Define DM_TEST_SRC run: | echo "DM_TEST_SRC=${{ matrix.config.test-src }}" | tee -a $GITHUB_ENV