Skip to content

Commit

Permalink
fix multiple_stages identification
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Mar 20, 2024
1 parent 4ea1b6f commit b2fdbce
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: dashboard
Title: What the Package Does (One Line, Title Case)
Version: 0.0.8.001
Version: 0.0.8.002
Authors@R:
person(given = "First",
family = "Last",
Expand Down
4 changes: 2 additions & 2 deletions R/reviews.R
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ reviews_gh_data <- function (open_only = TRUE, quiet = FALSE) {

# Also identify any issues with multiple stages:
multiple_stages <- vapply (event_labels, function (i) {
n_total <- length (grep ("^[0-9]\\/", i))
n_approved <- length (grep ("^6\\/", i))
n_total <- length (grep ("^[0-9]\\/", unique (i)))
n_approved <- length (grep ("^6\\/", unique (i)))
n_total > 1L && n_total != n_approved
}, logical (1L))

Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"name": "dashboard: What the Package Does (One Line, Title Case)",
"codeRepository": "https://github.com/ropensci-review-tools/dashboard",
"license": "https://spdx.org/licenses/MIT",
"version": "0.0.8.001",
"version": "0.0.8.002",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down

0 comments on commit b2fdbce

Please sign in to comment.