Skip to content

Commit

Permalink
fix check-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Jul 10, 2024
1 parent 2d1c3df commit d40cc19
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-2172-5265")),
Expand Down
2 changes: 1 addition & 1 deletion R/check-ci.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

output_pkgchk_ci <- function (checks) {

check_pass <- has_badges <- length (checks$info$badges) > 0L
Expand All @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit d40cc19

Please sign in to comment.