Skip to content

Commit

Permalink
fix rev_history index of pkgs for #7
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Mar 20, 2024
1 parent 6ddddf4 commit 9fa8cae
Show file tree
Hide file tree
Showing 3 changed files with 5 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.10.002
Version: 0.0.10.003
Authors@R:
person(given = "First",
family = "Last",
Expand Down
5 changes: 3 additions & 2 deletions R/reviews.R
Original file line number Diff line number Diff line change
Expand Up @@ -501,13 +501,14 @@ review_history <- function (quiet = FALSE) {

# Index of all historical full reviews + currently open submissions can be
# identified with by "6/approved" labels, or more recent 'submission_type'
# values:
# values for open issues:
approved <- vapply (
labels,
function (i) any (grepl ("^6", i)),
logical (1L)
)
std_stats <- submission_type %in% c ("Standard", "Stats")
std_stats <- submission_type %in% c ("Standard", "Stats") &
is.na (closed_at)
pkg_index <- which (approved | std_stats)

number <- number [pkg_index]
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.10.002",
"version": "0.0.10.003",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down

0 comments on commit 9fa8cae

Please sign in to comment.