Skip to content

Commit

Permalink
fix hyperlink in multiple stages warning of review.qmd
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Mar 20, 2024
1 parent 4795c2d commit 4ea1b6f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 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.8
Version: 0.0.8.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.8",
"version": "0.0.8.001",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down
8 changes: 4 additions & 4 deletions quarto/reviews.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ has_multiple_stages <- !is.null (attr (rev_dat, "multiple_stages"))

```{r multiple-stages, eval = has_multiple_stages, echo = FALSE, results = "asis"}
stages <- attr (rev_dat, "multiple_stages")
u <- "https//github.com/ropensci/software-review/issues/"
stages <- paste0 ("<a href='", u, stages, "'>", stages, "</a>")
u <- "https://github.com/ropensci/software-review/issues/"
stages <- paste0 ("[", stages, "](", u, stages, ")")
stages <- paste0 (stages, collapse = ", ")
iss <- ifelse (length (stages) > 1L, "issues", "issue")
v <- ifelse (length (stages) > 1L, "have", "has")
cat (paste0 (
"<hr><span style='color:red'>The following ",
iss, " ", v,
" multiple stages:<br>",
" multiple stages:<br></span><p>",
stages,
"</span><br><hr>"
"</p><hr>"
))
```

Expand Down

0 comments on commit 4ea1b6f

Please sign in to comment.