Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 1.29 KB

File metadata and controls

27 lines (16 loc) · 1.29 KB

scrpthdrs

Lifecycle: experimental R-CMD-check codecov

scrpthdrs provides a very basic way to quickly insert a comment header at the top of an R script.

Installation

You can install the development version of scrpthdrs from GitHub with:

devtools::install_github("PhilippBaessler/scrpthdrs")

Usage

The package provides a basic GUI via an RStudio Addin. It can be found in Addinsscrpthdrs / Insert comment header

Alternatively, the function can be called directly in the console assuming the R script file to which the comment header shall be added is open and focused in RStudio:

scrpthdrs::insert_comment_header(author = "My Name", email = "[email protected]")