Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 468 Bytes

OVERVIEW.md

File metadata and controls

16 lines (13 loc) · 468 Bytes

<%

Reuse the future vignette

md <- R.rsp::rstring(file="vignettes/future.batchtools.md.rsp", postprocess=FALSE)

Drop the header, i.e. anything before the first "H2" header

md <- unlist(strsplit(md, split="\n", fixed=TRUE)) row <- grep("^## ", md)[1] if (!is.na(row)) md <- md[-seq_len(row-1)]

Drop the footer, i.e. anything after the first horizontal line

row <- grep("^---", md)[1] if (!is.na(row)) md <- md[seq_len(row-1)]

Output

cat(md, sep="\n") %>