From 4ea1b6fa6eec08c870f691d52f005834f7bac41d Mon Sep 17 00:00:00 2001 From: mpadge Date: Wed, 20 Mar 2024 11:50:41 +0100 Subject: [PATCH] fix hyperlink in multiple stages warning of review.qmd --- DESCRIPTION | 2 +- codemeta.json | 2 +- quarto/reviews.qmd | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 524c256..9c55c3f 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -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", diff --git a/codemeta.json b/codemeta.json index aba0939..3147753 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.8", + "version": "0.0.8.001", "programmingLanguage": { "@type": "ComputerLanguage", "name": "R", diff --git a/quarto/reviews.qmd b/quarto/reviews.qmd index 30c1459..78e466d 100644 --- a/quarto/reviews.qmd +++ b/quarto/reviews.qmd @@ -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 ("", stages, "") +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 ( "
The following ", iss, " ", v, - " multiple stages:
", + " multiple stages:

", stages, - "


" + "


" )) ```