Skip to content

Instantly share code, notes, and snippets.

@sinarueeger
Last active January 24, 2022 08:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sinarueeger/ee42a74cbcb1d834e906199b26bc19f0 to your computer and use it in GitHub Desktop.
Save sinarueeger/ee42a74cbcb1d834e906199b26bc19f0 to your computer and use it in GitHub Desktop.
Add banner comments to R scripts
## Add banner comments to R scripts using
## [bannerCommenter](https://cran.r-project.org/web/packages/bannerCommenter/vignettes/Banded_comment_maker.pdf).
## header -----------------------------
bannerCommenter::banner("G2G-EBV analysis using GASTON", emph = TRUE)
## section -----------------------------
bannerCommenter::banner("0. Setup", centre = TRUE, bandChar = "/")
## subsection -----------------------------
bannerCommenter::banner("0.1 Setup", centre = FALSE, bandChar = "-")
## note -----------------------------
bannerCommenter::open_box("Variables need to be defined", bandChar = ":")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment