Skip to content

Commit

Permalink
paste characters before calling knitr::asis_output (see quarto-dev/qu…
Browse files Browse the repository at this point in the history
  • Loading branch information
rcannood committed Oct 23, 2023
1 parent 12af215 commit 6dc0c86
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion results/_include/_dataset_descriptions.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ lines <- pmap_chr(dataset_info, function(dataset_name, dataset_summary, data_ref
summ <- (dataset_summary %|% "Missing 'dataset_summary'") %>% str_replace_all("\\. *$", "")
glue::glue("* **{dataset_name}**{ref}: {summ}.")
})
knitr::asis_output(lines)
knitr::asis_output(paste(lines, collapse = "\n"))
```
2 changes: 1 addition & 1 deletion results/_include/_method_descriptions.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ lines <- pmap_chr(method_info, function(method_name, method_summary, paper_refer
summ <- (method_summary %|% "Missing 'method_summary'") %>% str_replace_all("\\. *$", "")
glue::glue("* **{method_name}**{ref}: {summ}.{version_label}{links_label}")
})
knitr::asis_output(lines)
knitr::asis_output(paste(lines, collapse = "\n"))
```

2 changes: 1 addition & 1 deletion results/_include/_metric_descriptions.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ lines <- pmap_chr(metric_info, function(metric_name, metric_summary, paper_refer
summ <- (metric_summary %|% "Missing 'metric_summary'") %>% str_replace_all("\\. *$", "")
glue::glue("* **{metric_name}**{ref}: {summ}.")
})
knitr::asis_output(lines)
knitr::asis_output(paste(lines, collapse = "\n"))
```

0 comments on commit 6dc0c86

Please sign in to comment.