diff --git a/DESCRIPTION b/DESCRIPTION index e0bb644..58b8f10 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: pkgcheck Title: rOpenSci Package Checks -Version: 0.1.2.045 +Version: 0.1.2.046 Authors@R: c( person("Mark", "Padgham", , "mark.padgham@email.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-2172-5265")), diff --git a/R/check-ci.R b/R/check-ci.R index 1e549d8..b8d259b 100644 --- a/R/check-ci.R +++ b/R/check-ci.R @@ -1,4 +1,3 @@ - output_pkgchk_ci <- function (checks) { check_pass <- has_badges <- length (checks$info$badges) > 0L @@ -8,6 +7,7 @@ output_pkgchk_ci <- function (checks) { wf <- checks$info$github_workflows i <- grep ("check|cmd", wf$name, ignore.case = TRUE) check_pass <- any (wf$conclusion [i] == "success") + check_pass <- ifelse (is.na (check_pass), FALSE, check_pass) } out <- list ( diff --git a/codemeta.json b/codemeta.json index 131ac0b..abc57ba 100644 --- a/codemeta.json +++ b/codemeta.json @@ -8,7 +8,7 @@ "codeRepository": "https://github.com/ropensci-review-tools/pkgcheck", "issueTracker": "https://github.com/ropensci-review-tools/pkgcheck/issues", "license": "https://spdx.org/licenses/GPL-3.0", - "version": "0.1.2.045", + "version": "0.1.2.046", "programmingLanguage": { "@type": "ComputerLanguage", "name": "R",