Skip to content

Commit 2836015

Browse files
committed
Add total numbers of reviews at top of history page
1 parent 2228ccc commit 2836015

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: dashboard
22
Title: What the Package Does (One Line, Title Case)
3-
Version: 0.2.2.107
3+
Version: 0.2.2.108
44
Authors@R:
55
person(given = "First",
66
family = "Last",

codemeta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"name": "dashboard: What the Package Does (One Line, Title Case)",
77
"codeRepository": "https://github.com/ropensci-review-tools/dashboard",
88
"license": "https://spdx.org/licenses/MIT",
9-
"version": "0.2.2.107",
9+
"version": "0.2.2.108",
1010
"programmingLanguage": {
1111
"@type": "ComputerLanguage",
1212
"name": "R",

quarto/history.qmd

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,17 @@ starting from September 2021. Prior to this time, all reviews were "general".
2323
```{r get-rev-history, echo = FALSE}
2424
#| cache: true
2525
dat <- review_history (quiet = TRUE)
26+
index <- which (!is.na (dat$duration_days))
27+
num_reviewed <- length (index)
28+
num_reviewed_stats <- length (which (dat$stats [index]))
29+
index <- which (dat$state == "OPEN" & !is.na (dat$editor))
30+
num_current <- length (index)
31+
num_current_stats <- length (which (dat$stats [index]))
2632
```
2733

34+
We have to date reviewed `r num_reviewed` packages, including
35+
`r num_reviewed_stats` statistical packages. We currently have `r num_current`
36+
packages under review, including `r num_current_stats` statistical packages.
2837

2938
## Package submissions {#package-submissions}
3039

0 commit comments

Comments
 (0)