Skip to content

sambrightman/shellcheckr

Repository files navigation

shellcheckr

Lifecycle: experimental R build status

shellcheckr allows you to run shellcheck manually or as an addin when editing shell scripts in RStudio.

Installation

You can install the released version of shellcheckr from CRAN with:

install.packages("shellcheckr")

NOTE you must have shellcheck in your $PATH.

Example

Normally you would run shellcheckr from the Addins->ShellCheck toolbar menu item:

Addin menu item Markers

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

About

Run ShellCheck From Within RStudio

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages