Skip to content

Commit

Permalink
create separate pkg-load chunks in all qmd
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Mar 20, 2024
1 parent ffc8f66 commit a98af72
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 9 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
Version: 0.0.10.001
Authors@R:
person(given = "First",
family = "Last",
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",
"version": "0.0.10.001",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down
7 changes: 5 additions & 2 deletions quarto/ed-reviews.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,17 @@ format:
code-fold: false
---

```{r get-ed-dat, echo = FALSE, message = FALSE}
#| cache: true
```{r load-pkg-ed-rev, echo = FALSE, message = FALSE}
library (dashboard)
library (gt)
library (ggplot2)
library (tidyr)
library (dplyr)
library (viridis)
```

```{r get-ed-dat, echo = FALSE, message = FALSE}
#| cache: true
ed_dat <- editor_status (quiet = TRUE)
ed_reviews <- ed_dat$reviews
```
Expand Down
7 changes: 5 additions & 2 deletions quarto/editors.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,17 @@ format:
code-fold: false
---

```{r get-ed-dat, echo = FALSE, message = FALSE}
#| cache: true
```{r load-pkg-ed, echo = FALSE, message = FALSE}
library (dashboard)
library (gt)
library (ggplot2)
library (tidyr)
library (dplyr)
library (viridis)
```

```{r get-ed-dat, echo = FALSE, message = FALSE}
#| cache: true
ed_dat <- editor_status (quiet = TRUE)
ed_status <- ed_dat$status
ed_timeline <- ed_dat$timeline
Expand Down
4 changes: 3 additions & 1 deletion quarto/history.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ library (ggplot2)
dat <- review_history (quiet = TRUE)
```

This chart shows the total number of packages under review each month.
This chart shows the total number of packages under review each month, with
lines shown for all packages, as well as general review, and statistical
software review, which started in September 2021.


```{r history-months, echo = FALSE}
Expand Down
7 changes: 5 additions & 2 deletions quarto/reviews.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ format:
code-fold: false
---

```{r get-rev-dat, echo = FALSE}
#| cache: true
```{r load-pkg-rev, echo = FALSE, message = FALSE}
library (dashboard)
library (gt)
```

```{r get-rev-dat, echo = FALSE}
#| cache: true
rev_dat <- review_status (open_only = TRUE, browse = FALSE, quiet = TRUE)
has_multiple_stages <- !is.null (attr (rev_dat, "multiple_stages"))
```
Expand Down

0 comments on commit a98af72

Please sign in to comment.