knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
shellcheckr allows you to run shellcheck manually or as an addin when editing shell scripts in RStudio.
You can install the released version of shellcheckr from CRAN with:
install.packages("shellcheckr")
NOTE you must have shellcheck in your $PATH.
Normally you would run shellcheckr from the Addins->ShellCheck toolbar menu item:

Tools->Modify Keyboard Shortcuts on the main menu can be used to make a keyboard shortcut for it. You can also call it manually:
library(shellcheckr) shellcheckr('~/.bashrc') # raw JSON output shellcheckrMarkers('~/.bashrc') # markers with wiki links
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.