Skip to content

Commit 9847518

Browse files
authored
Merge pull request #55 from ropensci-review-tools/total-reviews
Total reviews on history page
2 parents 7a8ed59 + 2836015 commit 9847518

File tree

5 files changed

+20
-11
lines changed

5 files changed

+20
-11
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.106
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.106",
9+
"version": "0.2.2.108",
1010
"programmingLanguage": {
1111
"@type": "ComputerLanguage",
1212
"name": "R",

quarto/editors.qmd

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ format:
1010
---
1111

1212
```{r load-pkg-ed, echo = FALSE, message = FALSE}
13-
library (dashboard)
14-
library (ggplot2)
15-
library (tidyr)
16-
library (dplyr)
17-
library (ggiraph)
18-
library (gfonts)
13+
library (dashboard, quietly = TRUE)
14+
library (ggplot2, quietly = TRUE)
15+
library (tidyr, quietly = TRUE)
16+
library (dplyr, quietly = TRUE)
17+
library (ggiraph, quietly = TRUE)
18+
library (gfonts, quietly = TRUE)
1919
```
2020

2121
This page includes:

quarto/history.qmd

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ format:
1010
---
1111

1212
```{r load-pkg, echo = FALSE, message = FALSE}
13-
library (dashboard)
14-
library (lubridate)
13+
library (dashboard, quietly = TRUE)
14+
library (lubridate, quietly = TRUE)
1515
```
1616

1717
This page includes several graphs providing insight into the historical
@@ -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

quarto/index.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ repository](https://github.com/ropensci-review-tools/dashboard/issues).
2929
---
3030

3131
```{r last-update, eval = TRUE, echo = FALSE, results = "asis"}
32-
library (httr2)
32+
library (httr2, quietly = TRUE)
3333
u_base <- "https://api.github.com/repos/"
3434
u_repo <- paste0 (u_base, "ropensci-review-tools/dashboard/")
3535

0 commit comments

Comments
 (0)