Skip to content

Commit 667c13f

Browse files
committed
Ignore spurious install warnings
1 parent 46f5981 commit 667c13f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/revdeps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,13 +344,13 @@ jobs:
344344

345345
- name: Generate results summary output
346346
run: |
347-
install.packages(c("knitr", "gh"))
347+
install.packages("knitr")
348348
349349
setwd("checkresults")
350350
all_pkgs <- gsub("^\\./(.*)\\.Rcheck", "\\1", list.dirs(".", recursive = FALSE))
351351
res <- tools::check_packages_in_dir_details(".")
352352
353-
install_failures <- unique(res$Package[res$Check == "whether package can be installed"])
353+
install_failures <- unique(res$Package[res$Check == "whether package can be installed" & res$Status == "ERROR"])
354354
install_failures <- install_failures[order(install_failures)]
355355
check_statuses <- c("tests", "re-building of vignette outputs", "examples", "examples with --run-donttest")
356356
check_failures <- unique(res$Package[res$Check %in% check_statuses])

0 commit comments

Comments
 (0)