-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathsoftware.Rmd
More file actions
30 lines (24 loc) · 889 Bytes
/
Copy pathsoftware.Rmd
File metadata and controls
30 lines (24 loc) · 889 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
title: "Software"
---
Software written or maintained by the lab. Most of it lives in the
[RILAB GitHub organization](https://github.com/RILAB); code accompanying individual
papers is generally linked from the [publications](pubs.html) page instead.
<hr>
```{r software_render, results='asis', echo=FALSE}
software <- yaml::read_yaml("data/software.yml")
for (s in software) {
header <- sprintf("## [%s](%s)", s$name, s$url)
if (!is.null(s$language)) {
header <- sprintf("%s <small>%s</small>", header, s$language)
}
cat(header, "\n\n")
extra <- if (is.null(s$links)) list() else s$links
links <- c(sprintf("[github](%s)", s$url),
vapply(extra, function(l) sprintf("[%s](%s)", l$text, l$url), ""))
cat(paste(links, collapse = " · "), "\n\n")
cat(s$about, "\n\n")
cat("**How to cite:** ", s$cite, "\n\n", sep = "")
cat("<hr>\n\n")
}
```