diff --git a/DESCRIPTION b/DESCRIPTION index b8020f6..f5f44aa 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -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", diff --git a/R/reviews.R b/R/reviews.R index cf5a19d..48b0196 100644 --- a/R/reviews.R +++ b/R/reviews.R @@ -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] diff --git a/codemeta.json b/codemeta.json index 57100a8..dfdeaef 100644 --- a/codemeta.json +++ b/codemeta.json @@ -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",