From fd0b88cfdff702358cf52f7a167e21d9fbe87b9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Sun, 24 Sep 2023 06:40:40 -0700 Subject: [PATCH] chore: Simplify workflow --- .../workflows/custom/after-install/action.yml | 24 ------------------- 1 file changed, 24 deletions(-) delete mode 100644 .github/workflows/custom/after-install/action.yml diff --git a/.github/workflows/custom/after-install/action.yml b/.github/workflows/custom/after-install/action.yml deleted file mode 100644 index 937993668..000000000 --- a/.github/workflows/custom/after-install/action.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: 'Custom steps to run after R packages are installed' - -runs: - using: "composite" - steps: - # Must happen after R is installed... - - name: Define R CMD check error condition - run: | - if (packageVersion("arrow") < "8.0.0") { - message("Setting RCMDCHECK_ERROR_ON = error") - cat('RCMDCHECK_ERROR_ON="error"\n', file = Sys.getenv("GITHUB_ENV"), append = TRUE) - } else if (getRversion() < "3.5") { - message("Setting RCMDCHECK_ERROR_ON = warning") - cat('RCMDCHECK_ERROR_ON="warning"\n', file = Sys.getenv("GITHUB_ENV"), append = TRUE) - } - shell: Rscript {0} - - - name: Define _R_CHECK_FORCE_SUGGESTS_ - run: | - if (getRversion() < "3.5") { - message("Setting _R_CHECK_FORCE_SUGGESTS_") - cat('_R_CHECK_FORCE_SUGGESTS_=false\n', file = Sys.getenv("GITHUB_ENV"), append = TRUE) - } - shell: Rscript {0}