Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 224cd04

Browse files
authored
ci: Always use _R_CHECK_FORCE_SUGGESTS_=false (#50)
1 parent f86302a commit 224cd04

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.github/workflows/R-CMD-check.yaml

-5
Original file line numberDiff line numberDiff line change
@@ -331,11 +331,6 @@ jobs:
331331
- uses: ./.github/workflows/custom/after-install
332332
if: hashFiles('.github/workflows/custom/after-install/action.yml') != ''
333333

334-
- name: Define _R_CHECK_FORCE_SUGGESTS_
335-
run: |
336-
cat('_R_CHECK_FORCE_SUGGESTS_=false\n', file = Sys.getenv("GITHUB_ENV"), append = TRUE)
337-
shell: Rscript {0}
338-
339334
- name: Must allow NOTEs, even with _R_CHECK_FORCE_SUGGESTS_
340335
run: |
341336
if (Sys.getenv("RCMDCHECK_ERROR_ON") %in% c("", "note")) {

.github/workflows/install/action.yml

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ runs:
5959
# There is no way to disable recency and frequency checks when the incoming checks are run
6060
# echo "_R_CHECK_CRAN_INCOMING_=true" | tee -a $GITHUB_ENV
6161
echo "_R_CHECK_CRAN_INCOMING_SKIP_LARGE_VERSION_=true" | tee -a $GITHUB_ENV
62+
echo "_R_CHECK_FORCE_SUGGESTS_=false" | tee -a $GITHUB_ENV
6263
shell: bash
6364

6465
- name: Set environment variables (non-Windows only)

0 commit comments

Comments
 (0)