-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprepare.R
More file actions
31 lines (26 loc) · 1.41 KB
/
prepare.R
File metadata and controls
31 lines (26 loc) · 1.41 KB
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
31
packages_core <- c("MomX", "Momacs", "Momit", "Momocs2", "Momstats")
packages_extended <- c("Momoshop")
packages_legacy <- c("Momocs")
header <- c("| name | website | github | last_commit | cran | passing |")
header2 <- c("| ---- | ------- | ---- | ------- | ------ | ----------- |")
row <- function(name){
website <- paste0("[](https://momx.github.io/", name, ")")
cran <- paste0("")
passing <- paste0("")
github <- paste0("[](https://github.com/MomX/", name, ")")
last_commit <- paste0("")
paste0("| ", name, " | ", paste(website, github, last_commit, cran, passing, sep=" | "), " |")
}
cat("\n## Core\n",
c(header, header2, sapply(packages_core, row)),
"\n## Extended \n",
c(header, header2, sapply(packages_extended, row)),
"\n## Legacy \n",
c(header, header2, sapply(packages_legacy, row)),
"\n## Projects \n",
" * Momdata: nice datasets to play with",
" * Mombank: a participative list of published data",
" * Momecs: a shiny explorer on top of MomX",
" * Momfarm: breed, evolve and simulate shapes",
" * Mombook: all docs in one place",
sep="\n")