Skip to content
Snippets Groups Projects
Commit 43217644 authored by Luke Zappia's avatar Luke Zappia
Browse files

Colourise listSims

parent f6e0119e
No related branches found
No related tags found
No related merge requests found
......@@ -89,8 +89,10 @@ listSims <- function(print = TRUE) {
cat("Splatter currently contains", length(sims), "simulations", "\n\n")
for (idx in seq_len(nrow(sims.table))) {
sim <- as.character(sims.table[idx, ])
cat(sim[1], paste0("(", sim[2], ")"), "\n")
cat("DOI:", sim[3], "\t", "GitHub:", sim[4], "\n")
cat(crayon::bold(sim[1]), crayon::yellow(paste0("(", sim[2], ")")),
"\n")
cat(crayon::bold("DOI:"), crayon::cyan(sim[3]), "\t",
crayon::bold("GitHub:"), crayon::cyan(sim[4]), "\n")
cat(sim[5], "\n\n")
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment