From cab8d28fe26261e1bcf6e7c6af4b5e8ef38b32d9 Mon Sep 17 00:00:00 2001 From: CJ Yetman Date: Wed, 15 Jan 2025 11:44:41 -0500 Subject: [PATCH] ignore "Days since last update" CRAN incoming note (#384) --- .github/workflows/R-CMD-check-CRAN-incoming.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/R-CMD-check-CRAN-incoming.yaml b/.github/workflows/R-CMD-check-CRAN-incoming.yaml index ef30b82..1002c42 100644 --- a/.github/workflows/R-CMD-check-CRAN-incoming.yaml +++ b/.github/workflows/R-CMD-check-CRAN-incoming.yaml @@ -72,7 +72,7 @@ jobs: check_results <- rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"), build_args = c("--no-manual", "--compact-vignettes=gs+qpdf"), error_on = "warning", check_dir = "check") writeLines(paste0("```\n", check_results$stdout, "\n```"), Sys.getenv("GITHUB_STEP_SUMMARY")) notes <- unlist(strsplit(check_results$notes, "\\n")) - notes <- grep("^checking CRAN incoming feasibility|^Maintainer: |^New submission$|^Version contains large components |^$", notes, value = TRUE, invert = TRUE) + notes <- grep("^checking CRAN incoming feasibility|^Maintainer: |^New submission$|^Version contains large components |^Days since last update: |^$", notes, value = TRUE, invert = TRUE) writeLines(paste0("R CMD check CRAN incoming feasibility check notes found:\n```\n", paste(notes, collapse = "\n"), "\n```"), "notes.md") if (length(notes) > 0L) { cat("::error::Notes found in CRAN incoming feasibility check\n"); cat(paste(notes, collapse = "\n")); quit(status=1) } shell: Rscript {0}