R/auxiliary.R

Defines functions chunkR_devel is_meta

Documented in chunkR_devel

#' chunkR devel
#' @description The function opens the chunkR-devel web site:
#' https://github.com/leandroroser/chunkR
#' @export

chunkR_devel <- function(){
  cat("Opening link: https://leandroroser.github.io/chunkR\n")
  browseURL("https://github.com/leandroroser/chunkR")
}

is_meta <- function(X) {
  meta <- c("\\.", "\\\\", "\\|", "\\[", "\\]", "\\{", "\\}", 
            "\\(", "\\)", "\\^", "\\*", "\\?", "\\+", "\\$")
  any(meta %in% paste("\\", X, sep = ""))
}

Try the chunkR package in your browser

Any scripts or data that you put into this service are public.

chunkR documentation built on May 1, 2019, 6:34 p.m.