R/insertComLine.R

Defines functions insertComLine

Documented in insertComLine

#' Insert a sepearting line.
#'
#' Call this function as an addin to insert \code{ # --- } at the cursor position.
#'
#' @export
insertComLine <- function() {
  rstudioapi::insertText("# --------------------------------------------------------------------------- ")
}
Dora-Dora/rstudiosc documentation built on May 24, 2019, 6:20 a.m.